fix height is not define (#450)

This commit is contained in:
脇山P 2018-04-14 00:34:05 +09:00 committed by Neil
parent ec2565679a
commit a858b3fc2d

View File

@ -221,7 +221,7 @@ class BlockProcessor(server.db.DB):
await self.controller.run_in_executor(self.flush, True)
if self.utxo_db.for_sync:
self.logger.info(f'{self.controller.VERSION} synced to '
f'height {height:,d}')
f'height {self.height:,d}')
self.open_dbs()
self.caught_up_event.set()