aboutsummaryrefslogtreecommitdiffstats
path: root/pow
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-17 06:17:28 +0800
committerobscuren <geffobscura@gmail.com>2015-03-17 06:17:28 +0800
commit94505146a21cc0aee16d79aebc17c8fcb1f91324 (patch)
treecc28e02c74c0f8e2d7185a9f79028b82a5a8bb52 /pow
parent843db4978e876674ca111706880a58c84202880d (diff)
downloadgo-tangerine-94505146a21cc0aee16d79aebc17c8fcb1f91324.tar.gz
go-tangerine-94505146a21cc0aee16d79aebc17c8fcb1f91324.tar.zst
go-tangerine-94505146a21cc0aee16d79aebc17c8fcb1f91324.zip
updated vm env
Diffstat (limited to 'pow')
-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
}