Skip to content

Commit

Permalink
chore: fix function name in comment
Browse files Browse the repository at this point in the history
Signed-off-by: cuiweiyuan <[email protected]>
  • Loading branch information
cuiweiyuan committed Dec 24, 2024
1 parent 099de90 commit b5b8a4c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arbnode/batch_poster.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion arbnode/delay_buffer.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit b5b8a4c

Please sign in to comment.