parse env example (#677)

This commit is contained in:
callebtc
2024-11-21 18:38:59 +01:00
committed by GitHub
parent 901b16713c
commit c4b639b068

View File

@@ -732,6 +732,12 @@ class MintKeyset:
input_fee_ppk: Optional[int] = None, input_fee_ppk: Optional[int] = None,
id: str = "", id: str = "",
): ):
DEFAULT_SEED = "supersecretprivatekey"
if seed == DEFAULT_SEED:
raise Exception(
f"Seed is set to default value '{DEFAULT_SEED}'. Please change it."
)
self.derivation_path = derivation_path self.derivation_path = derivation_path
if encrypted_seed and not settings.mint_seed_decryption_key: if encrypted_seed and not settings.mint_seed_decryption_key: