Skip to content

Commit

Permalink
Fix RateChange logic (#625)
Browse files Browse the repository at this point in the history
  • Loading branch information
Doctor-Cyclone authored Apr 24, 2024
2 parents cfb29d5 + 300002c commit e6c67ca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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.17.3",
"version": "5.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 @@ -301,7 +301,8 @@ export abstract class EvmCrossChainTrade extends CrossChainTrade<EvmEncodeConfig
const { contractAddress, contractAbi, methodName, methodArguments, value } =
await this.getContractParams({
fromAddress: options.fromAddress,
receiverAddress: options.receiverAddress || options.fromAddress
receiverAddress: options.receiverAddress || options.fromAddress,
useCacheData: options?.useCacheData || false
});

return EvmWeb3Pure.encodeMethodCall(
Expand Down

0 comments on commit e6c67ca

Please sign in to comment.