1
0

channel_db: fix timestamp_range, reduce verbosity

This commit is contained in:
ThomasV
2019-03-18 12:24:37 +01:00
parent aa398993cf
commit 93e8d4f953
2 changed files with 11 additions and 7 deletions

View File

@@ -218,12 +218,11 @@ class Peer(PrintError):
self.print_error('requesting whole channel graph')
else:
self.print_error('requesting channel graph since', datetime.fromtimestamp(timestamp).ctime())
timestamp_range = int(time.time()) - timestamp
self.send_message(
'gossip_timestamp_filter',
chain_hash=constants.net.rev_genesis_bytes(),
first_timestamp=timestamp,
timestamp_range=timestamp_range)
timestamp_range=b'\xff'*4)
while True:
await asyncio.sleep(5)
if self.node_anns: