1
0

network: new trigger 'blockchain_updated'

follow-up af63913189
needed to update history tab when new blocks come,
to refresh the number of confirmations (icons/tooltips)
This commit is contained in:
SomberNight
2018-09-19 21:56:09 +02:00
parent cbd91ba5b1
commit 855a70bc66
4 changed files with 14 additions and 2 deletions

View File

@@ -400,6 +400,7 @@ class Interface(PrintError):
# in the simple case, height == self.tip+1
if height <= self.tip:
await self.sync_until(height)
self.network.trigger_callback('blockchain_updated')
async def sync_until(self, height, next_height=None):
if next_height is None: