Nut07/proof pending (#277)

* add pending state

* proofs spendable check and tests

* bump version to 0.12.3

* remove sleep for testing

* comment clarify

* use list comprehension in pending list
This commit is contained in:
callebtc
2023-07-08 22:50:17 +02:00
committed by GitHub
parent 56040594b7
commit 73b015b642
11 changed files with 90 additions and 40 deletions

View File

@@ -415,6 +415,7 @@ async def receive_cli(
@coro
async def burn(ctx: Context, token: str, all: bool, force: bool, delete: str):
wallet: Wallet = ctx.obj["WALLET"]
await wallet.load_proofs()
if not delete:
await wallet.load_mint()
if not (all or token or force or delete) or (token and all):