From 085cbda0e436b7fd6929cac7791407e1a54d549b Mon Sep 17 00:00:00 2001 From: RafilxTenfen Date: Sat, 21 Dec 2024 12:53:28 -0300 Subject: [PATCH] fix: remove print --- eotsmanager/cmd/eotsd/daemon/keys.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eotsmanager/cmd/eotsd/daemon/keys.go b/eotsmanager/cmd/eotsd/daemon/keys.go index 150147c4..5d61d138 100644 --- a/eotsmanager/cmd/eotsd/daemon/keys.go +++ b/eotsmanager/cmd/eotsd/daemon/keys.go @@ -4,9 +4,10 @@ import ( "bytes" "encoding/json" "fmt" - "github.com/btcsuite/btcd/btcec/v2/schnorr" "io" + "github.com/btcsuite/btcd/btcec/v2/schnorr" + "github.com/babylonlabs-io/babylon/types" "github.com/babylonlabs-io/finality-provider/eotsmanager" "github.com/babylonlabs-io/finality-provider/eotsmanager/config" @@ -121,7 +122,6 @@ func saveKeyNameMapping(cmd *cobra.Command, keyName string) (*types.BIP340PubKey return nil, fmt.Errorf("failed to save key name mapping: %w", err) } - cmd.Printf("Successfully wrote key name %s to mapping", keyName) return eotsPk, nil }