Skip to content

Commit

Permalink
rename method to getDepositTxParams
Browse files Browse the repository at this point in the history
  • Loading branch information
DZGoldman committed Sep 28, 2021
1 parent 6080417 commit 608faf0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/arb-ts/src/lib/bridge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ export class Bridge {
}
}

public async getDepositInputs(
public async getDepositTxParams(
{
erc20L1Address,
amount,
Expand Down Expand Up @@ -378,7 +378,7 @@ export class Bridge {
overrides: PayableOverrides = {}
): Promise<ContractTransaction> {
const depositInput: DepositParams = isDepositInputParams(params)
? await this.getDepositInputs(params)
? await this.getDepositTxParams(params)
: params

return this.l1Bridge.deposit(depositInput, overrides)
Expand Down

0 comments on commit 608faf0

Please sign in to comment.