mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-02-24 22:58:46 +01:00
take private key from config
This commit is contained in:
parent
0724893650
commit
2db8006d9e
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ env.read_env()
|
||||||
ledger = Ledger(
|
ledger = Ledger(
|
||||||
db=db,
|
db=db,
|
||||||
seed=env.str("CASHU_PRIVATE_KEY", default="SuperSecretPrivateKey"),
|
seed=env.str("CASHU_PRIVATE_KEY", default="SuperSecretPrivateKey"),
|
||||||
derivation_path="0/0/0/0",
|
derivation_path="0/0/0/1",
|
||||||
)
|
)
|
||||||
|
|
||||||
cashu_ext: APIRouter = APIRouter(prefix="/cashu", tags=["cashu"])
|
cashu_ext: APIRouter = APIRouter(prefix="/cashu", tags=["cashu"])
|
||||||
|
|
Loading…
Add table
Reference in a new issue