log tweaks
This commit is contained in:
@@ -88,7 +88,7 @@ class BlockStateRunner(BlockProgressor):
|
|||||||
block = Block(chain_id, message['result'])
|
block = Block(chain_id, message['result'])
|
||||||
self.set_latest_block(block)
|
self.set_latest_block(block)
|
||||||
self.new_head_event.set()
|
self.new_head_event.set()
|
||||||
log.debug(f'detected new head {block}')
|
log.debug(f'new head {block}')
|
||||||
if abs(block.timestamp-timestamp()) > 3:
|
if abs(block.timestamp-timestamp()) > 3:
|
||||||
log.warning(f'Blockchain {chain_id} time is off by {block.timestamp-timestamp():.1f}s')
|
log.warning(f'Blockchain {chain_id} time is off by {block.timestamp-timestamp():.1f}s')
|
||||||
if not self.running:
|
if not self.running:
|
||||||
|
|||||||
Reference in New Issue
Block a user