Skip to content

Commit

Permalink
fix(mobile): Bounceable raw address on send (#654)
Browse files Browse the repository at this point in the history
  • Loading branch information
voloshinskii authored Dec 13, 2023
1 parent 1107bbb commit 785d320
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/@core-js/src/formatters/Address.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ export class Address {
}

static isBounceable(address: string) {
return new TonWeb.Address(address).isBounceable;
const addr = new TonWeb.Address(address);
return !addr.isUserFriendly || addr.isBounceable;
}

static compare(adr1?: string, adr2?: string) {
Expand Down

0 comments on commit 785d320

Please sign in to comment.