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