Redact validator token from cleaned config (RIPD-1422)

This commit is contained in:
wilsonianb
2017-05-23 14:59:53 -07:00
committed by Nik Bougalis
parent 6f4bc30684
commit da7da5527c

2
bin/getInfoRippled.sh Normal file → Executable file
View File

@@ -31,6 +31,8 @@ then
BEGIN {skip=0; db_path="";print > OUT_FILE}
/^\[validation_seed\]/ {skip=1; next}
/^\[node_seed\]/ {skip=1; next}
/^\[validation_manifest\]/ {skip=1; next}
/^\[validator_token\]/ {skip=1; next}
/^\[.*\]/ {skip=0}
skip==1 {next}
save==1 {save=0;db_path=$0}