Skip to content

Commit

Permalink
change name
Browse files Browse the repository at this point in the history
  • Loading branch information
IDIDOS committed Jul 19, 2024
1 parent 69c4bbe commit 8d7ad17
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rubic-sdk",
"version": "5.32.0",
"version": "5.32.1",
"description": "Simplify dApp creation",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -213,10 +213,10 @@ export class StargateV2CrossChainTrade extends EvmCrossChainTrade {
const fromTokenSymbol = stargateV2TokenAddress[fromBlockchain][
this.fromTokenAddress
] as StargateV2BridgeToken;
const receiverAddress = receiverAddress || this.walletAddress;
const toAddress = receiverAddress || this.walletAddress

Check failure on line 216 in src/features/cross-chain/calculation-manager/providers/stargate-v2-provider/stargate-v2-cross-chain-trade.ts

View workflow job for this annotation

GitHub Actions / Check code base before merge to master

Insert `;`
const sendParams = {
...this.stargateV2SendParams,
to: ethers.utils.hexZeroPad(receiverAddress, 32)
to: ethers.utils.hexZeroPad(toAddress, 32)
};
const contractAddress = stargateV2ContractAddress?.[fromBlockchain]?.[fromTokenSymbol];
if (!contractAddress) {
Expand Down

0 comments on commit 8d7ad17

Please sign in to comment.