aboutsummaryrefslogtreecommitdiffstats
path: root/pow/block.go
diff options
context:
space:
mode:
Diffstat (limited to 'pow/block.go')
-rw-r--r--pow/block.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/pow/block.go b/pow/block.go
index 136e4bf8d..9ae25bd4d 100644
--- a/pow/block.go
+++ b/pow/block.go
@@ -3,14 +3,15 @@ package pow
import (
"math/big"
+ "github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types"
)
type Block interface {
Difficulty() *big.Int
- HashNoNonce() []byte
+ HashNoNonce() common.Hash
Nonce() uint64
- MixDigest() []byte
+ MixDigest() common.Hash
NumberU64() uint64
}