diff options
author | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-05-07 02:20:54 +0800 |
---|---|---|
committer | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-05-07 02:20:54 +0800 |
commit | 1f26a1b86319f9468395e0772b5ae8f02cce8ec8 (patch) | |
tree | 3aa5255e7d82f4161b26bc60425fa0b026516007 /core | |
parent | aa884c052ddf7c5e8f673972b34681982de1cd52 (diff) | |
parent | 054947def77bc2352f90f79206146c93dd5422d0 (diff) | |
download | dexon-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.go | 4 |
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 } |