diff --git a/tests/block_test_util.go b/tests/block_test_util.go index 64e1c551f1..97785e9ee0 100644 --- a/tests/block_test_util.go +++ b/tests/block_test_util.go @@ -27,7 +27,7 @@ import ( "github.com/ubiq/go-ubiq/common" "github.com/ubiq/go-ubiq/common/hexutil" "github.com/ubiq/go-ubiq/common/math" - "github.com/ubiq/go-ubiq/consensus/ethash" + "github.com/ubiq/go-ubiq/consensus/ubqhash" "github.com/ubiq/go-ubiq/core" "github.com/ubiq/go-ubiq/core/state" "github.com/ubiq/go-ubiq/core/types" @@ -105,7 +105,7 @@ func (t *BlockTest) Run(config *params.ChainConfig) error { return fmt.Errorf("genesis block state root does not match test: computed=%x, test=%x", gblock.Root().Bytes()[:6], t.json.Genesis.StateRoot[:6]) } - chain, err := core.NewBlockChain(db, config, ethash.NewShared(), new(event.TypeMux), vm.Config{}) + chain, err := core.NewBlockChain(db, config, ubqhash.NewShared(), new(event.TypeMux), vm.Config{}) if err != nil { return err }