Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
zjg555543 committed Jan 21, 2025
1 parent d47d561 commit 94f9634
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sequencesender/txbuilder/banana_validium_xlayer.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ func (t *TxBuilderBananaValidium) checkMaxTimestamp(sequence etherman.SequenceBa
}
if rpcBatch.LastL2BLockTimestamp() != sequence.MaxSequenceTimestamp {
t.logger.Error("max timestamp mismatch: ", rpcBatch.LastL2BLockTimestamp(), sequence.MaxSequenceTimestamp)
return errors.New(fmt.Sprintf("max timestamp mismatch: %v, %v", rpcBatch.LastL2BLockTimestamp(), sequence.MaxSequenceTimestamp))
return errors.New(fmt.Sprintf("max timestamp mismatch: %v, %v",
rpcBatch.LastL2BLockTimestamp(), sequence.MaxSequenceTimestamp))
}
t.logger.Infof("max timestamp check passed:%v,%v", maxBatchNumber, sequence.MaxSequenceTimestamp)
return nil
Expand Down

0 comments on commit 94f9634

Please sign in to comment.