mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 15:16:43 +00:00
internal: misc minor fixes
This commit is contained in:
parent
ccc82911a5
commit
37d5cfc053
3 changed files with 1 additions and 5 deletions
|
|
@ -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 (
|
||||
|
|
|
|||
|
|
@ -138,7 +138,7 @@ func GetAPIs(apiBackend Backend) []rpc.API {
|
|||
}, {
|
||||
Namespace: "eth",
|
||||
Service: NewEthereumAccountAPI(apiBackend.AccountManager()),
|
||||
, {
|
||||
}, {
|
||||
Namespace: "bor",
|
||||
Service: NewBorAPI(apiBackend),
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue