aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/types/block.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/types/block.go b/core/types/block.go
index 8ca3d0e89..1d00d9f93 100644
--- a/core/types/block.go
+++ b/core/types/block.go
@@ -381,7 +381,7 @@ func (b *Block) Hash() common.Hash {
if hash := b.hash.Load(); hash != nil {
return hash.(common.Hash)
}
- v := rlpHash(b.header)
+ v := b.header.Hash()
b.hash.Store(v)
return v
}