aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2015-05-07 02:20:54 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2015-05-07 02:20:54 +0800
commit1f26a1b86319f9468395e0772b5ae8f02cce8ec8 (patch)
tree3aa5255e7d82f4161b26bc60425fa0b026516007 /core
parentaa884c052ddf7c5e8f673972b34681982de1cd52 (diff)
parent054947def77bc2352f90f79206146c93dd5422d0 (diff)
downloaddexon-1f26a1b86319f9468395e0772b5ae8f02cce8ec8.tar
dexon-1f26a1b86319f9468395e0772b5ae8f02cce8ec8.tar.gz
dexon-1f26a1b86319f9468395e0772b5ae8f02cce8ec8.tar.bz2
dexon-1f26a1b86319f9468395e0772b5ae8f02cce8ec8.tar.lz
dexon-1f26a1b86319f9468395e0772b5ae8f02cce8ec8.tar.xz
dexon-1f26a1b86319f9468395e0772b5ae8f02cce8ec8.tar.zst
dexon-1f26a1b86319f9468395e0772b5ae8f02cce8ec8.zip
Merge pull request #859 from Gustav-Simonsson/ethash_reloaded
Ethash reloaded
Diffstat (limited to 'core')
-rw-r--r--core/chain_makers.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/chain_makers.go b/core/chain_makers.go
index 73c2205f4..5cd7ab4ab 100644
--- a/core/chain_makers.go
+++ b/core/chain_makers.go
@@ -14,8 +14,8 @@ import (
// So we can generate blocks easily
type FakePow struct{}
-func (f FakePow) Search(block pow.Block, stop <-chan struct{}) (uint64, []byte, []byte) {
- return 0, nil, nil
+func (f FakePow) Search(block pow.Block, stop <-chan struct{}) (uint64, []byte) {
+ return 0, nil
}
func (f FakePow) Verify(block pow.Block) bool { return true }
func (f FakePow) GetHashrate() int64 { return 0 }