mirror of
https://github.com/aljazceru/nutshell.git
synced 2025-12-20 02:24:20 +01:00
wallet fix: load proofs before receiving (#698)
This commit is contained in:
@@ -101,6 +101,7 @@ async def receive(
|
||||
wallet: Wallet,
|
||||
token: Token,
|
||||
) -> Wallet:
|
||||
await wallet.load_proofs()
|
||||
mint_wallet = await redeem_universal(wallet, token)
|
||||
# reload main wallet so the balance updates
|
||||
await wallet.load_proofs(reload=True)
|
||||
|
||||
Reference in New Issue
Block a user