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

@ -432,7 +432,7 @@ type hashrate struct {
// sealWork wraps a seal work package for remote sealer.
type sealWork struct {
errc chan error
res chan [3]string
res chan [4]string
}
// Ethash is a consensus engine based on proof-of-work implementing the ethash