From de60320e204377cdb2c4e7f18623e45006215bc9 Mon Sep 17 00:00:00 2001 From: lollerfirst Date: Fri, 28 Jun 2024 09:13:02 +0200 Subject: [PATCH] make format --- .env.example | 3 +-- cashu/lightning/corelightningrest.py | 1 + cashu/lightning/lndrest.py | 6 +----- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.env.example b/.env.example index 35c36ab1..c8951dc2 100644 --- a/.env.example +++ b/.env.example @@ -72,9 +72,8 @@ MINT_LND_REST_MACAROON="/home/lnd/.lnd/data/chain/bitcoin/regtest/admin.macaroon # Use with CoreLightningRestWallet MINT_CORELIGHTNING_REST_URL=https://localhost:3001 -MINT_CORELIGHTNING_REST_MACAROON="./clightning-rest/access.macaroon" MINT_CORELIGHTNING_REST_CERT="./clightning-2-rest/certificate.pem" -MINT_CORELIGHTNING_RUNE=Base64string== +MINT_CORELIGHTNING_RUNE="Base64string==" # Use with BlinkWallet MINT_BLINK_KEY=blink_abcdefgh diff --git a/cashu/lightning/corelightningrest.py b/cashu/lightning/corelightningrest.py index 27bc9697..27edfabf 100644 --- a/cashu/lightning/corelightningrest.py +++ b/cashu/lightning/corelightningrest.py @@ -24,6 +24,7 @@ Unsupported, ) + class CoreLightningRestWallet(LightningBackend): supported_units = set([Unit.sat, Unit.msat]) unit = Unit.sat diff --git a/cashu/lightning/lndrest.py b/cashu/lightning/lndrest.py index f5595e9a..eaffdfdf 100644 --- a/cashu/lightning/lndrest.py +++ b/cashu/lightning/lndrest.py @@ -6,11 +6,7 @@ import bolt11 import httpx -from bolt11 import ( - TagChar, - Bolt11Exception, - decode -) +from bolt11 import Bolt11Exception, TagChar, decode from loguru import logger from ..core.base import Amount, MeltQuote, Unit