mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-21 15:29:27 +00:00
parent
1e9f86b49e
commit
bc24b7a912
1 changed files with 1 additions and 1 deletions
|
|
@ -381,7 +381,7 @@ func (b *Block) Hash() common.Hash {
|
||||||
if hash := b.hash.Load(); hash != nil {
|
if hash := b.hash.Load(); hash != nil {
|
||||||
return hash.(common.Hash)
|
return hash.(common.Hash)
|
||||||
}
|
}
|
||||||
v := rlpHash(b.header)
|
v := b.header.Hash()
|
||||||
b.hash.Store(v)
|
b.hash.Store(v)
|
||||||
return v
|
return v
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue