mirror of https://github.com/BTCPrivate/copay.git
Fix protoHandler. Share address without prefix
This commit is contained in:
parent
30485f0ef5
commit
15186319fd
|
@ -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 {
|
||||
|
|
|
@ -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()) {
|
||||
|
|
Loading…
Reference in New Issue