mirror of
https://github.com/LBRYFoundation/lbry-sdk.git
synced 2025-08-28 16:01:28 +00:00
save syncrono
This commit is contained in:
parent
369dcaafc3
commit
5e3b8cb7ea
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ class WalletManager:
|
||||||
self.wallets[wallet.id] = wallet
|
self.wallets[wallet.id] = wallet
|
||||||
|
|
||||||
def wallet_change_handler(event):
|
def wallet_change_handler(event):
|
||||||
asyncio.create_task(self.storage.save(wallet))
|
self.storage.save(wallet)
|
||||||
asyncio.create_task(self._on_change_controller.add(event))
|
asyncio.create_task(self._on_change_controller.add(event))
|
||||||
wallet.on_change.listen(wallet_change_handler)
|
wallet.on_change.listen(wallet_change_handler)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue