diff --git a/cashu/core/base.py b/cashu/core/base.py index bde77872..8922752c 100644 --- a/cashu/core/base.py +++ b/cashu/core/base.py @@ -732,6 +732,12 @@ def __init__( input_fee_ppk: Optional[int] = None, 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 if encrypted_seed and not settings.mint_seed_decryption_key: