diff --git a/package.json b/package.json index 9b004c06a6..59bea065ea 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rubic-sdk", - "version": "2.13.1", + "version": "2.13.2", "description": "Simplify dApp creation", "main": "lib/index.js", "types": "lib/index.d.ts", diff --git a/src/features/cross-chain/providers/common/cross-chain-trade.ts b/src/features/cross-chain/providers/common/cross-chain-trade.ts index b51ef7c610..4cae6297c5 100644 --- a/src/features/cross-chain/providers/common/cross-chain-trade.ts +++ b/src/features/cross-chain/providers/common/cross-chain-trade.ts @@ -45,6 +45,7 @@ export abstract class CrossChainTrade { if (isAddressValid) { return; } + throw new WrongReceiverAddressError(); } if (Web3Pure.isAddressCorrect(receiverAddress)) { return;