Skip to content

Commit

Permalink
chore: fix some function names (#10631)
Browse files Browse the repository at this point in the history
  • Loading branch information
yumeiyin authored May 23, 2024
1 parent 6bb19e3 commit aec9b8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion indexer/database/bridge_transfers.go
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ type L2BridgeWithdrawalsResponse struct {
HasNextPage bool
}

// L2BridgeDepositsByAddress retrieves a list of deposits initiated by the specified address, coupled with the L1/L2 transaction hashes
// L2BridgeWithdrawalsByAddress retrieves a list of deposits initiated by the specified address, coupled with the L1/L2 transaction hashes
// that complete the bridge transaction. The hashes that correspond with the Bedrock multi-step withdrawal process are also surfaced
func (db *bridgeTransfersDB) L2BridgeWithdrawalsByAddress(address common.Address, cursor string, limit int) (*L2BridgeWithdrawalsResponse, error) {
if limit <= 0 {
Expand Down
2 changes: 1 addition & 1 deletion op-batcher/batcher/channel_manager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ func ChannelManagerCloseNoPendingChannel(t *testing.T, batchType uint) {
require.ErrorIs(err, io.EOF, "Expected closed channel manager to return no new tx data")
}

// ChannelManagerCloseNoPendingChannel ensures that the channel manager
// ChannelManagerClosePendingChannel ensures that the channel manager
// can gracefully close with a pending channel, and will not produce any
// new channel frames after this point.
func ChannelManagerClosePendingChannel(t *testing.T, batchType uint) {
Expand Down

0 comments on commit aec9b8e

Please sign in to comment.