Skip to content

Commit 0323f05

Browse files
authored
Merge pull request #7786 from multiversx/fix-blockchain-hook-roothash-backward-compatibility
fix: update root hash handling in last executed block header
2 parents 827d6fd + 041a0de commit 0323f05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

process/sync/storageBootstrap/baseStorageBootstrapper.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ func (st *storageBootstrapper) setCurrentBlockInfo(
531531

532532
// set also last executed block info and header
533533
// this will be useful at transition to Supernova with headers v3
534-
st.blkc.SetLastExecutedBlockHeaderAndRootHash(header, headerHash, header.GetRootHash())
534+
st.blkc.SetLastExecutedBlockHeaderAndRootHash(header, headerHash, rootHash)
535535

536536
lastExecResHandler, err := common.GetOrCreateLastExecutionResultForPrevHeader(header, headerHash)
537537
if err != nil {

0 commit comments

Comments
 (0)