Skip to content

Commit

Permalink
cmd/utils: fix merge-breakage in test (ethereum#28985)
Browse files Browse the repository at this point in the history
  • Loading branch information
holiman authored Feb 14, 2024
1 parent fe91d47 commit 55a46c3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/utils/history_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ import (
"github.com/ethereum/go-ethereum/internal/era"
"github.com/ethereum/go-ethereum/params"
"github.com/ethereum/go-ethereum/trie"
"github.com/ethereum/go-ethereum/triedb"
)

var (
Expand Down Expand Up @@ -170,7 +171,7 @@ func TestHistoryImportAndExport(t *testing.T) {
db2.Close()
})

genesis.MustCommit(db2, trie.NewDatabase(db, trie.HashDefaults))
genesis.MustCommit(db2, triedb.NewDatabase(db, triedb.HashDefaults))
imported, err := core.NewBlockChain(db2, nil, genesis, nil, ethash.NewFaker(), vm.Config{}, nil, nil)
if err != nil {
t.Fatalf("unable to initialize chain: %v", err)
Expand Down

0 comments on commit 55a46c3

Please sign in to comment.