From e04da456245a3cf45aa2658d888a77a177954016 Mon Sep 17 00:00:00 2001 From: callebtc <93376500+callebtc@users.noreply.github.com> Date: Fri, 7 Oct 2022 22:54:18 +0200 Subject: [PATCH] cli text --- cashu/wallet/cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cashu/wallet/cli.py b/cashu/wallet/cli.py index b11d9b1..8ddd0e3 100755 --- a/cashu/wallet/cli.py +++ b/cashu/wallet/cli.py @@ -105,9 +105,9 @@ async def mint(ctx, amount: int, hash: str): try: await wallet.mint(amount, r["hash"]) paid = True - print("Invoice paid.") + print(" Invoice paid.") except Exception as e: - print(str(e)) + # TODO: user error codes! if str(e) == "Error: Lightning invoice not paid yet.": print(".", end="", flush=True) continue