consensus: extend getWork API with block number (#18038)

This commit is contained in:
gary rong
2018-11-08 16:08:57 +01:00
committed by Péter Szilágyi
parent b16cc501a8
commit 144c1c6c52
4 changed files with 12 additions and 8 deletions

View File

@ -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() {