Skip to content

Commit

Permalink
Merge pull request #214 from Cryptorubic/develop
Browse files Browse the repository at this point in the history
2.17.4 version
  • Loading branch information
ko1ebayev authored Sep 22, 2022
2 parents d030809 + f87d54a commit 2998457
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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": "2.17.3",
"version": "2.17.4",
"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 @@ -157,12 +157,12 @@ export class LifiCrossChainTrade extends CrossChainTrade {
CrossChainTrade.checkReceiverAddress(options?.receiverAddress);

const { onConfirm, gasLimit, gasPrice } = options;

const { contractAddress, contractAbi, methodName, methodArguments, value } =
await this.getContractParams(options);

let transactionHash: string;

try {
const { contractAddress, contractAbi, methodName, methodArguments, value } =
await this.getContractParams(options);

const onTransactionHash = (hash: string) => {
if (onConfirm) {
onConfirm(hash);
Expand Down

0 comments on commit 2998457

Please sign in to comment.