You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -358,8 +359,9 @@ func (e *Executor) initializeState() error {
358
359
iferr!=nil {
359
360
returnfmt.Errorf("get header at %d: %w", newState.LastBlockHeight, err)
360
361
}
361
-
if!bytes.Equal(header.Hash(), raftState.Hash) {
362
-
returnfmt.Errorf("CRITICAL: content mismatch after replay! local=%x raft=%x. This indicates a 'Dual-Store Conflict' where data diverged from Raft", header.Hash(), raftState.Hash)
362
+
headerHash:=header.MemoizeHash()
363
+
if!bytes.Equal(headerHash, raftState.Hash) {
364
+
returnfmt.Errorf("CRITICAL: content mismatch after replay! local=%x raft=%x. This indicates a 'Dual-Store Conflict' where data diverged from Raft", headerHash, raftState.Hash)
0 commit comments