Commit aec9b8ea authored by yumeiyin's avatar yumeiyin Committed by GitHub

chore: fix some function names (#10631)

parent 6bb19e32
...@@ -307,7 +307,7 @@ type L2BridgeWithdrawalsResponse struct { ...@@ -307,7 +307,7 @@ type L2BridgeWithdrawalsResponse struct {
HasNextPage bool 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 // 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) { func (db *bridgeTransfersDB) L2BridgeWithdrawalsByAddress(address common.Address, cursor string, limit int) (*L2BridgeWithdrawalsResponse, error) {
if limit <= 0 { if limit <= 0 {
......
...@@ -283,7 +283,7 @@ func ChannelManagerCloseNoPendingChannel(t *testing.T, batchType uint) { ...@@ -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") 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 // can gracefully close with a pending channel, and will not produce any
// new channel frames after this point. // new channel frames after this point.
func ChannelManagerClosePendingChannel(t *testing.T, batchType uint) { func ChannelManagerClosePendingChannel(t *testing.T, batchType uint) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment