diff --git a/cashu/wallet/cli.py b/cashu/wallet/cli.py index 3fdfa30..11b5467 100644 --- a/cashu/wallet/cli.py +++ b/cashu/wallet/cli.py @@ -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 diff --git a/cashu/wallet/wallet.py b/cashu/wallet/wallet.py index 68a0d02..60f0806 100644 --- a/cashu/wallet/wallet.py +++ b/cashu/wallet/wallet.py @@ -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)