aboutsummaryrefslogtreecommitdiffstats
path: root/consensus/ethash/algorithm_test.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2018-08-13 22:03:16 +0800
committerGitHub <noreply@github.com>2018-08-13 22:03:16 +0800
commitd8328a96b4943798f9dd2a8ae1c787f7e78ff8e4 (patch)
tree8caca301cbd28fa62fbd45ee47dced38f2acd57b /consensus/ethash/algorithm_test.go
parentfb368723acf83e64c71e1eaa403e7cda06e6ce5e (diff)
parentf0998415ba9a73f0add32f9b5aed2aec98b9a7f3 (diff)
downloaddexon-d8328a96b4943798f9dd2a8ae1c787f7e78ff8e4.tar
dexon-d8328a96b4943798f9dd2a8ae1c787f7e78ff8e4.tar.gz
dexon-d8328a96b4943798f9dd2a8ae1c787f7e78ff8e4.tar.bz2
dexon-d8328a96b4943798f9dd2a8ae1c787f7e78ff8e4.tar.lz
dexon-d8328a96b4943798f9dd2a8ae1c787f7e78ff8e4.tar.xz
dexon-d8328a96b4943798f9dd2a8ae1c787f7e78ff8e4.tar.zst
dexon-d8328a96b4943798f9dd2a8ae1c787f7e78ff8e4.zip
Merge pull request #17347 from karalabe/miner-notify
cmd, consensus/ethash, eth: miner push notifications
Diffstat (limited to 'consensus/ethash/algorithm_test.go')
-rw-r--r--consensus/ethash/algorithm_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/consensus/ethash/algorithm_test.go b/consensus/ethash/algorithm_test.go
index e7625f7c0..db22cccd0 100644
--- a/consensus/ethash/algorithm_test.go
+++ b/consensus/ethash/algorithm_test.go
@@ -729,7 +729,7 @@ func TestConcurrentDiskCacheGeneration(t *testing.T) {
go func(idx int) {
defer pend.Done()
- ethash := New(Config{cachedir, 0, 1, "", 0, 0, ModeNormal})
+ ethash := New(Config{cachedir, 0, 1, "", 0, 0, ModeNormal}, nil)
defer ethash.Close()
if err := ethash.VerifySeal(nil, block.Header()); err != nil {
t.Errorf("proc %d: block verification failed: %v", idx, err)