mirror of
https://github.com/aljazceru/nutshell.git
synced 2025-12-22 19:34:18 +01:00
rename cli mint to invoice
This commit is contained in:
@@ -78,7 +78,7 @@ def coro(f):
|
|||||||
@click.option("--hash", default="", help="Hash of the paid invoice.", type=str)
|
@click.option("--hash", default="", help="Hash of the paid invoice.", type=str)
|
||||||
@click.pass_context
|
@click.pass_context
|
||||||
@coro
|
@coro
|
||||||
async def mint(ctx, amount: int, hash: str):
|
async def invoice(ctx, amount: int, hash: str):
|
||||||
wallet: Wallet = ctx.obj["WALLET"]
|
wallet: Wallet = ctx.obj["WALLET"]
|
||||||
await wallet.load_mint()
|
await wallet.load_mint()
|
||||||
wallet.status()
|
wallet.status()
|
||||||
|
|||||||
Reference in New Issue
Block a user