mirror of
https://github.com/aljazceru/nutshell.git
synced 2025-12-21 02:54:20 +01:00
refactor
This commit is contained in:
@@ -333,11 +333,9 @@ async def receive(ctx, token: str, lock: str):
|
|||||||
)
|
)
|
||||||
|
|
||||||
# if it was not an lnbits link
|
# if it was not an lnbits link
|
||||||
if not url:
|
url = url or (
|
||||||
url = (
|
input(f"Enter mint URL (press enter for default {MINT_URL}): ") or MINT_URL
|
||||||
input(f"Enter mint URL (press enter for default {MINT_URL}): ")
|
)
|
||||||
or MINT_URL
|
|
||||||
)
|
|
||||||
|
|
||||||
# and add url and keyset id to token
|
# and add url and keyset id to token
|
||||||
token_object: TokenJson = await wallet._make_token(proofs, include_mints=False)
|
token_object: TokenJson = await wallet._make_token(proofs, include_mints=False)
|
||||||
|
|||||||
Reference in New Issue
Block a user