Skip to content

Commit

Permalink
make format
Browse files Browse the repository at this point in the history
  • Loading branch information
lollerfirst committed Jun 28, 2024
1 parent 36f88af commit de60320
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
3 changes: 1 addition & 2 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions cashu/lightning/corelightningrest.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
Unsupported,
)


class CoreLightningRestWallet(LightningBackend):
supported_units = set([Unit.sat, Unit.msat])
unit = Unit.sat
Expand Down
6 changes: 1 addition & 5 deletions cashu/lightning/lndrest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit de60320

Please sign in to comment.