aboutsummaryrefslogtreecommitdiffstats
path: root/core/chain_pow_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/chain_pow_test.go')
-rw-r--r--core/chain_pow_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/chain_pow_test.go b/core/chain_pow_test.go
index 80c6a1cc0..5aa8ed8a0 100644
--- a/core/chain_pow_test.go
+++ b/core/chain_pow_test.go
@@ -34,7 +34,7 @@ type failPow struct {
failing uint64
}
-func (pow failPow) Search(pow.Block, <-chan struct{}) (uint64, []byte) {
+func (pow failPow) Search(pow.Block, <-chan struct{}, int) (uint64, []byte) {
return 0, nil
}
func (pow failPow) Verify(block pow.Block) bool { return block.NumberU64() != pow.failing }
@@ -47,7 +47,7 @@ type delayedPow struct {
delay time.Duration
}
-func (pow delayedPow) Search(pow.Block, <-chan struct{}) (uint64, []byte) {
+func (pow delayedPow) Search(pow.Block, <-chan struct{}, int) (uint64, []byte) {
return 0, nil
}
func (pow delayedPow) Verify(block pow.Block) bool { time.Sleep(pow.delay); return true }