diff options
author | Gustav Simonsson <gustav.simonsson@gmail.com> | 2015-06-12 13:45:23 +0800 |
---|---|---|
committer | Gustav Simonsson <gustav.simonsson@gmail.com> | 2015-10-07 19:19:30 +0800 |
commit | ec6a548ee3555813d83f86f82bd25694bfd9c303 (patch) | |
tree | 9d0ec5022dc952f7b1053b85382df07347bc48f0 /core/chain_makers.go | |
parent | 8b865fa9bf75e728d5d76f5a1460e0c37d8b5f9e (diff) | |
download | go-tangerine-ec6a548ee3555813d83f86f82bd25694bfd9c303.tar go-tangerine-ec6a548ee3555813d83f86f82bd25694bfd9c303.tar.gz go-tangerine-ec6a548ee3555813d83f86f82bd25694bfd9c303.tar.bz2 go-tangerine-ec6a548ee3555813d83f86f82bd25694bfd9c303.tar.lz go-tangerine-ec6a548ee3555813d83f86f82bd25694bfd9c303.tar.xz go-tangerine-ec6a548ee3555813d83f86f82bd25694bfd9c303.tar.zst go-tangerine-ec6a548ee3555813d83f86f82bd25694bfd9c303.zip |
all: Add GPU mining, disabled by default
Diffstat (limited to 'core/chain_makers.go')
-rw-r--r-- | core/chain_makers.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/chain_makers.go b/core/chain_makers.go index 3af9b0b89..ea1f6edc8 100644 --- a/core/chain_makers.go +++ b/core/chain_makers.go @@ -32,7 +32,7 @@ import ( // It returns true from Verify for any block. type FakePow struct{} -func (f FakePow) Search(block pow.Block, stop <-chan struct{}) (uint64, []byte) { +func (f FakePow) Search(block pow.Block, stop <-chan struct{}, index int) (uint64, []byte) { return 0, nil } func (f FakePow) Verify(block pow.Block) bool { return true } |