diff options
author | Gustav Simonsson <gustav.simonsson@gmail.com> | 2015-05-05 14:24:15 +0800 |
---|---|---|
committer | Gustav Simonsson <gustav.simonsson@gmail.com> | 2015-05-05 14:24:15 +0800 |
commit | b1cc9cdc7424d452687e2e168027d591ed332f3f (patch) | |
tree | 85f9860c5348f7cce620349977e4dac5ab5140f8 /core | |
parent | 50659f4b480fb9446cfb40955331a7a044353ff8 (diff) | |
download | go-tangerine-b1cc9cdc7424d452687e2e168027d591ed332f3f.tar.gz go-tangerine-b1cc9cdc7424d452687e2e168027d591ed332f3f.tar.zst go-tangerine-b1cc9cdc7424d452687e2e168027d591ed332f3f.zip |
Integrate new ethash API and change geth makedag cmd
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 } |