diff --git a/cashu/mint/startup.py b/cashu/mint/startup.py index a158cabc..e66be504 100644 --- a/cashu/mint/startup.py +++ b/cashu/mint/startup.py @@ -36,6 +36,10 @@ "mint_corelightning_rest_macaroon", ]: value = "********" if value is not None else None + + if key == "mint_database" and value and value.startswith("postgres://"): + value = "postgres://********" + logger.debug(f"{key}: {value}") wallets_module = importlib.import_module("cashu.lightning")