diff --git a/arbnode/batch_poster.go b/arbnode/batch_poster.go index 70c5952042..7e87d9a05e 100644 --- a/arbnode/batch_poster.go +++ b/arbnode/batch_poster.go @@ -539,7 +539,7 @@ func (b *BatchPoster) getTxsInfoByBlock(ctx context.Context, number int64) ([]tx return blk.Transactions, nil } -// checkRevert checks blocks with number in range [from, to] whether they +// checkReverts checks blocks with number in range [from, to] whether they // contain reverted batch_poster transaction. // It returns true if it finds batch posting needs to halt, which is true if a batch reverts // unless the data poster is configured with noop storage which can tolerate reverts. diff --git a/arbnode/delay_buffer.go b/arbnode/delay_buffer.go index 3f0514bbe2..f2d73076ef 100644 --- a/arbnode/delay_buffer.go +++ b/arbnode/delay_buffer.go @@ -26,7 +26,7 @@ type DelayBufferConfig struct { Threshold uint64 } -// GetBufferConfig gets the delay buffer config from the sequencer inbox contract. +// GetDelayBufferConfig gets the delay buffer config from the sequencer inbox contract. // If the contract doesn't support the delay buffer, it returns a config with Enabled set to false. func GetDelayBufferConfig(ctx context.Context, sequencerInbox *bridgegen.SequencerInbox) ( *DelayBufferConfig, error) {