Skip to content

Commit 3fc156e

Browse files
authored
chore(taiko-client): when removing preconf blocks, use the update method to log it (#19515)
1 parent a264d41 commit 3fc156e

File tree

1 file changed

+1
-1
lines changed
  • packages/taiko-client/driver/preconf_blocks

1 file changed

+1
-1
lines changed

packages/taiko-client/driver/preconf_blocks/api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ func (s *PreconfBlockAPIServer) RemovePreconfBlocks(c echo.Context) error {
315315
// If current block number is less than the highest unsafe L2 payload block ID,
316316
// update the highest unsafe L2 payload block ID.
317317
if newHead.Number.Uint64() < s.highestUnsafeL2PayloadBlockID {
318-
s.highestUnsafeL2PayloadBlockID = newHead.Number.Uint64()
318+
s.updateHighestUnsafeL2Payload(newHead.Number.Uint64())
319319
}
320320

321321
log.Debug(

0 commit comments

Comments
 (0)