From 482786dcc5f788873d093f8821d2fb0852a679b3 Mon Sep 17 00:00:00 2001 From: callebtc <93376500+callebtc@users.noreply.github.com> Date: Sat, 14 Jan 2023 14:40:54 +0100 Subject: [PATCH] less balance printing --- cashu/wallet/cli.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cashu/wallet/cli.py b/cashu/wallet/cli.py index 0eabc57..dc20331 100644 --- a/cashu/wallet/cli.py +++ b/cashu/wallet/cli.py @@ -499,7 +499,7 @@ async def burn(ctx, token: str, all: bool, force: bool): else: # check only the specified ones proofs = [Proof(**p) for p in json.loads(base64.urlsafe_b64decode(token))] - wallet.status() + await wallet.invalidate(proofs) wallet.status() @@ -543,7 +543,6 @@ async def pending(ctx, legacy): print(f"{token_legacy}\n") print(f"--------------------------\n") print("To remove all spent tokens use: cashu burn -a") - wallet.status() @cli.command("lock", help="Generate receiving lock.")