diff --git a/src/pages/receive/receive.ts b/src/pages/receive/receive.ts index 8b750da87..bd6f4f3ff 100644 --- a/src/pages/receive/receive.ts +++ b/src/pages/receive/receive.ts @@ -108,7 +108,7 @@ export class ReceivePage { public shareAddress(): void { if (!this.showShareButton) return; - this.socialSharing.share(this.qrAddress); + this.socialSharing.share(this.address); } public showWallets(): void { diff --git a/src/providers/wallet/wallet.ts b/src/providers/wallet/wallet.ts index a7fb37b2d..07d1ae8c3 100644 --- a/src/providers/wallet/wallet.ts +++ b/src/providers/wallet/wallet.ts @@ -329,7 +329,7 @@ export class WalletProvider { } public getProtoAddress(wallet: any, address: string) { - let proto: string = this.getProtocolHandler(wallet); + let proto: string = this.getProtocolHandler(wallet.coin); let protoAddr: string = proto + ':' + address; if (wallet.coin != 'bch' || this.useLegacyAddress()) {