wallet fix: load proofs before receiving (#698)

This commit is contained in:
callebtc
2025-01-29 13:32:57 -06:00
committed by GitHub
parent ea96fab9e3
commit 320c70060e

View File

@@ -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)