diff options
Diffstat (limited to 'core/crypto.go')
-rw-r--r-- | core/crypto.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/crypto.go b/core/crypto.go index e68d7cc..111f709 100644 --- a/core/crypto.go +++ b/core/crypto.go @@ -35,7 +35,8 @@ func hashWitness(block *types.Block) (common.Hash, error) { hash := crypto.Keccak256Hash( block.Witness.ParentHash[:], binaryTime, - binaryHeight) + binaryHeight, + block.Witness.Data[:]) return hash, nil } |