[Wallet] DB optimization for faster payments (#250)

* get rid of redundant proof loads

* fix test?

* fix one test?

* api: load_mint for invoice

* clean up tests
This commit is contained in:
callebtc
2023-06-11 00:10:07 +02:00
committed by GitHub
parent 959cc00c8a
commit defcf7aac4
9 changed files with 69 additions and 48 deletions

View File

@@ -63,7 +63,7 @@ async def get_mint_wallet(ctx: Context):
name=wallet.name,
)
# await mint_wallet.load_mint()
await mint_wallet.load_proofs()
await mint_wallet.load_proofs(reload=True)
return mint_wallet