diff --git a/internal/ethapi/api_test.go b/internal/ethapi/api_test.go index 714f33b9fe..d453b03070 100644 --- a/internal/ethapi/api_test.go +++ b/internal/ethapi/api_test.go @@ -3376,7 +3376,6 @@ func setupTransactionsToApiTest(t *testing.T) (*TransactionAPI, []common.Hash, [ // Set the terminal total difficulty in the config genesis.Config.TerminalTotalDifficulty = big.NewInt(0) - genesis.Config.TerminalTotalDifficultyPassed = true backend := newTestBackend(t, genBlocks, genesis, beacon.New(ethash.NewFaker()), func(i int, b *core.BlockGen) { var ( diff --git a/internal/ethapi/backend.go b/internal/ethapi/backend.go index 3774f9f9f4..97f8d3c6cb 100644 --- a/internal/ethapi/backend.go +++ b/internal/ethapi/backend.go @@ -138,7 +138,7 @@ func GetAPIs(apiBackend Backend) []rpc.API { }, { Namespace: "eth", Service: NewEthereumAccountAPI(apiBackend.AccountManager()), - , { + }, { Namespace: "bor", Service: NewBorAPI(apiBackend), }, diff --git a/internal/flags/helpers.go b/internal/flags/helpers.go index 7bb36321da..7ba94320d1 100644 --- a/internal/flags/helpers.go +++ b/internal/flags/helpers.go @@ -23,9 +23,6 @@ import ( "sort" "strings" - "github.com/mattn/go-isatty" - "github.com/urfave/cli/v2" - "github.com/ethereum/go-ethereum/internal/version" "github.com/ethereum/go-ethereum/log" "github.com/mattn/go-isatty"