internal: misc minor fixes

This commit is contained in:
Manav Darji 2025-03-26 02:04:59 +05:30
parent ccc82911a5
commit 37d5cfc053
No known key found for this signature in database
GPG key ID: A426F0124435F36E
3 changed files with 1 additions and 5 deletions

View file

@ -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 (

View file

@ -138,7 +138,7 @@ func GetAPIs(apiBackend Backend) []rpc.API {
}, {
Namespace: "eth",
Service: NewEthereumAccountAPI(apiBackend.AccountManager()),
, {
}, {
Namespace: "bor",
Service: NewBorAPI(apiBackend),
},

View file

@ -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"