diff options
author | gary rong <garyrong0905@gmail.com> | 2018-11-08 23:08:57 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2018-11-08 23:08:57 +0800 |
commit | 144c1c6c52456808428e2b69dbe5c4ebfc3606ca (patch) | |
tree | 8bc340d92c7090180931c8bdb9f793965088e862 /consensus/ethash/ethash_test.go | |
parent | b16cc501a88eb7c36cfd8ee9be1c0c985ef4a7d9 (diff) | |
download | go-tangerine-144c1c6c52456808428e2b69dbe5c4ebfc3606ca.tar.gz 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.go | 2 |
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() { |