Skip to content

Commit

Permalink
Modifications to FixedDepositAnchorFactory bytecode (#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
nepoche authored May 9, 2022
1 parent 75081c4 commit 294fcf1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/anchors/src/Anchor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ class Anchor implements IAnchor {
/**
* Assumes the anchor has the correct, full deposit history.
*/
public async wrapAndDeposit(tokenAddress: string, wrappingFee: number = 0,destinationChainId?: number): Promise<IAnchorDeposit> {
public async wrapAndDeposit(tokenAddress: string, wrappingFee: number = 0, destinationChainId?: number): Promise<IAnchorDeposit> {
const originChainId = getChainIdType(await this.signer.getChainId());
const chainId = (destinationChainId) ? destinationChainId : originChainId;
const deposit = Anchor.generateDeposit(chainId);
Expand Down
Loading

0 comments on commit 294fcf1

Please sign in to comment.