Skip to content

Commit

Permalink
Merge pull request #98 from onflow/revert-97-fix-absent-coa-key
Browse files Browse the repository at this point in the history
Revert "Populate `COAKey` config value"
  • Loading branch information
sideninja authored Feb 28, 2024
2 parents a12f2a4 + 7dc04e1 commit 92b83d3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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")
Expand Down

0 comments on commit 92b83d3

Please sign in to comment.