From 0c5076ae91d60f1464e238e208ec60b8d14d735f Mon Sep 17 00:00:00 2001 From: Luke Williams Date: Mon, 25 Feb 2019 19:13:04 +0100 Subject: [PATCH] tests/block_test_util: ethash -> ubqhash --- tests/block_test_util.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }