aboutsummaryrefslogtreecommitdiffstats
path: root/consensus/ethash/ethash_test.go
diff options
context:
space:
mode:
authorgary rong <garyrong0905@gmail.com>2018-11-08 23:08:57 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-11-08 23:08:57 +0800
commit144c1c6c52456808428e2b69dbe5c4ebfc3606ca (patch)
tree8bc340d92c7090180931c8bdb9f793965088e862 /consensus/ethash/ethash_test.go
parentb16cc501a88eb7c36cfd8ee9be1c0c985ef4a7d9 (diff)
downloadgo-tangerine-144c1c6c52456808428e2b69dbe5c4ebfc3606ca.tar
go-tangerine-144c1c6c52456808428e2b69dbe5c4ebfc3606ca.tar.gz
go-tangerine-144c1c6c52456808428e2b69dbe5c4ebfc3606ca.tar.bz2
go-tangerine-144c1c6c52456808428e2b69dbe5c4ebfc3606ca.tar.lz
go-tangerine-144c1c6c52456808428e2b69dbe5c4ebfc3606ca.tar.xz
go-tangerine-144c1c6c52456808428e2b69dbe5c4ebfc3606ca.tar.zst
go-tangerine-144c1c6c52456808428e2b69dbe5c4ebfc3606ca.zip
consensus: extend getWork API with block number (#18038)
Diffstat (limited to 'consensus/ethash/ethash_test.go')
-rw-r--r--consensus/ethash/ethash_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/consensus/ethash/ethash_test.go b/consensus/ethash/ethash_test.go
index 8eded2ca8..90cb6470f 100644
--- a/consensus/ethash/ethash_test.go
+++ b/consensus/ethash/ethash_test.go
@@ -107,7 +107,7 @@ func TestRemoteSealer(t *testing.T) {
ethash.Seal(nil, block, results, nil)
var (
- work [3]string
+ work [4]string
err error
)
if work, err = api.GetWork(); err != nil || work[0] != sealhash.Hex() {