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