mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
tests/block_test_util: ethash -> ubqhash
This commit is contained in:
parent
6e718ed3de
commit
0c5076ae91
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue