Commit 0c9b1d52 authored by George Knee's avatar George Knee Committed by GitHub

fix possible panic in computeSyncActions (#13287)

parent 7c8d28dd
...@@ -114,7 +114,7 @@ func computeSyncActions[T channelStatuser](newSyncStatus eth.SyncStatus, prevCur ...@@ -114,7 +114,7 @@ func computeSyncActions[T channelStatuser](newSyncStatus eth.SyncStatus, prevCur
// that the derivation pipeline may have stalled // that the derivation pipeline may have stalled
// e.g. because of Holocene strict ordering rules. // e.g. because of Holocene strict ordering rules.
l.Warn("sequencer did not make expected progress", l.Warn("sequencer did not make expected progress",
"existingBlock", eth.ToBlockID(blocks[numBlocksToDequeue-1]), "existingBlock", ch.LatestL2(),
"newSafeBlock", newSyncStatus.SafeL2, "newSafeBlock", newSyncStatus.SafeL2,
"syncActions", startAfresh) "syncActions", startAfresh)
return startAfresh, false return startAfresh, false
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment