mirror of
https://github.com/basicswap/basicswap.git
synced 2025-01-18 16:44:34 +00:00
Fix unbound error when no wallet data is cached.
This commit is contained in:
parent
e28d41ed0c
commit
b5f6eb6526
1 changed files with 1 additions and 0 deletions
|
@ -252,6 +252,7 @@ def page_wallet(self, url_split, post_string):
|
|||
|
||||
swap_client.updateWalletsInfo(force_refresh, only_coin=coin_id, wait_for_complete=True)
|
||||
wallets = swap_client.getCachedWalletsInfo({'coin_id': coin_id})
|
||||
wallet_data = {}
|
||||
for k in wallets.keys():
|
||||
w = wallets[k]
|
||||
if 'error' in w:
|
||||
|
|
Loading…
Reference in a new issue