From 7dc04e1f9dee08d7d02ebaff313edaf4281f5afa Mon Sep 17 00:00:00 2001 From: Gregor G <75445744+sideninja@users.noreply.github.com> Date: Wed, 28 Feb 2024 17:21:17 +0100 Subject: [PATCH] Revert "Populate `COAKey` config value" --- config/config.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/config/config.go b/config/config.go index 780f60ca5..8ffb1cbad 100644 --- a/config/config.go +++ b/config/config.go @@ -3,10 +3,9 @@ package config import ( "flag" "fmt" - "math/big" - "github.com/goccy/go-json" "github.com/onflow/flow-go/utils/io" + "math/big" "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common/math" @@ -109,7 +108,6 @@ func FromFlags() (*Config, error) { return nil, fmt.Errorf("a key from the COA key list file is not valid, key %s, error: %w", k, err) } cfg.COAKeys[i] = pk - cfg.COAKey = pk } } else { return nil, fmt.Errorf("must either provide coa-key or coa-key-path flag")