take private key from config

This commit is contained in:
callebtc 2022-11-07 16:26:39 +01:00 committed by dni ⚡
parent ac5512cdbe
commit 8e07b220b1

View File

@ -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"])