From 4256da483af0627c3221fe867889367e098fcd90 Mon Sep 17 00:00:00 2001 From: Rafael Sampaio <5679073+r4f4ss@users.noreply.github.com> Date: Sun, 29 Sep 2024 14:19:05 -0300 Subject: [PATCH] removal of log of private key (security) --- cmd/shisui/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/shisui/main.go b/cmd/shisui/main.go index 56400dfc1a..5589c1b2f9 100644 --- a/cmd/shisui/main.go +++ b/cmd/shisui/main.go @@ -433,7 +433,7 @@ func setPrivateKey(ctx *cli.Context, config *Config) error { } } } - log.Debug("Current client private key", "private key", privateKey) + config.PrivateKey = privateKey err = writePrivateKey(privateKey, config, privateKeyFileName) if err != nil {