mirror of
https://github.com/basicswap/basicswap.git
synced 2025-11-06 02:38:11 +01:00
ui: Add indication when XMR node is bootstrapping
This commit is contained in:
@@ -5271,6 +5271,11 @@ class BasicSwap(BaseApp):
|
||||
'synced': '{0:.2f}'.format(round(blockchaininfo['verificationprogress'], 2)),
|
||||
}
|
||||
|
||||
if 'known_block_count' in blockchaininfo:
|
||||
rv['known_block_count'] = blockchaininfo['known_block_count']
|
||||
if 'bootstrapping' in blockchaininfo:
|
||||
rv['bootstrapping'] = blockchaininfo['bootstrapping']
|
||||
|
||||
return rv
|
||||
except Exception as e:
|
||||
self.log.warning('getWalletInfo failed with: %s', str(e))
|
||||
|
||||
Reference in New Issue
Block a user