mirror of
https://github.com/aljazceru/nutshell.git
synced 2026-02-04 08:14:21 +01:00
cli text
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user