mirror of
https://github.com/aljazceru/nutshell.git
synced 2025-12-20 10:34:20 +01:00
multimint works
This commit is contained in:
@@ -234,6 +234,16 @@ async def send(ctx, amount: int, lock: str):
|
||||
hide_secrets=True if lock and not p2sh else False,
|
||||
include_mints=True,
|
||||
)
|
||||
print(token)
|
||||
|
||||
# print("")
|
||||
# print("Legacy:")
|
||||
# token = await wallet.serialize_proofs(
|
||||
# send_proofs,
|
||||
# hide_secrets=True if lock and not p2sh else False,
|
||||
# include_mints=False,
|
||||
# )
|
||||
# print(token)
|
||||
wallet.status()
|
||||
|
||||
|
||||
@@ -495,5 +505,5 @@ async def info(ctx):
|
||||
print(f"Tor enabled: {TOR}")
|
||||
if SOCKS_HOST:
|
||||
print(f"Socks proxy: {SOCKS_HOST}:{SOCKS_PORT}")
|
||||
print(f"Mint URL: {MINT_URL}")
|
||||
print(f"Mint URL: {ctx.obj['HOST']}")
|
||||
return
|
||||
|
||||
@@ -63,6 +63,8 @@ class LedgerAPI:
|
||||
def _set_requests(self):
|
||||
s = requests.Session()
|
||||
s.headers.update({"Client-version": VERSION})
|
||||
if DEBUG:
|
||||
s.verify = False
|
||||
socks_host, socks_port = None, None
|
||||
if TOR and TorProxy().check_platform():
|
||||
self.tor = TorProxy(timeout=True)
|
||||
|
||||
Reference in New Issue
Block a user