Skip to content

Commit

Permalink
Fix btc address validation
Browse files Browse the repository at this point in the history
  • Loading branch information
axtezy committed Sep 2, 2022
1 parent 51489e3 commit ce1a42f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
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.13.1",
"version": "2.13.2",
"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 @@ -45,6 +45,7 @@ export abstract class CrossChainTrade {
if (isAddressValid) {
return;
}
throw new WrongReceiverAddressError();
}
if (Web3Pure.isAddressCorrect(receiverAddress)) {
return;
Expand Down

0 comments on commit ce1a42f

Please sign in to comment.