less balance printing

This commit is contained in:
callebtc
2023-01-14 14:40:54 +01:00
parent 0d3ef4f8b6
commit 482786dcc5

View File

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