Skip to content

Commit

Permalink
load rune
Browse files Browse the repository at this point in the history
  • Loading branch information
callebtc committed Jun 30, 2024
1 parent 946fb88 commit 6c3e128
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/regtest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ jobs:
# LND_GRPC_MACAROON: ./regtest/data/lnd-3/data/chain/bitcoin/regtest/admin.macaroon
# CORELIGHTNING_RPC: ./regtest/data/clightning-1/regtest/lightning-rpc
MINT_CORELIGHTNING_REST_URL: https://localhost:3001
MINT_CORELIGHTNING_REST_MACAROON: ./regtest/data/clightning-2-rest/access.macaroon
MINT_CORELIGHTNING_REST_CERT: ./regtest/data/clightning-2-rest/certificate.pem
MINT_CORELIGHTNING_REST_RUNE: ./regtest/data/clightning-2/rune
MINT_CORELIGHTNING_REST_CERT: ./regtest/data/clightning-2/regtest/ca.pem
run: |
sudo chmod -R 777 .
make test
Expand Down
4 changes: 2 additions & 2 deletions cashu/lightning/corelightningrest.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ def __init__(self, unit: Unit = Unit.sat, **kwargs):
rune = rune.strip()
else:
rune = rune_settings

assert rune, "missing clnrest rune"
else:
raise Exception("missing rune for clnrest")
self.rune = rune

url = settings.mint_corelightning_rest_url
Expand Down

0 comments on commit 6c3e128

Please sign in to comment.