debug c-lightning self info ln_default_alias (#3396)

redact ln_default_alias in SYSTEM CACHE STATUS
This commit is contained in:
ChuckNorrison 2022-11-04 15:53:00 +01:00 committed by GitHub
parent 4c30048d3b
commit ebd60e83e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,7 +39,8 @@ if [ "$1" == "redact" ]; then
sed -i 's/alias [A-Za-z0-9]* /alias *** /' ${redactFile}
sed -i 's/public key [a-z0-9]*,/public key *** /' ${redactFile}
sed -i 's/[a-z0-9][a-z0-9]*.onion/###.onion/' ${redactFile}
sed -i 's/alias=[^\r\n]*/alias=****/' ${redactFile}
exit 0
fi