Fix protoHandler. Share address without prefix

This commit is contained in:
Gustavo Maximiliano Cortez 2018-02-02 15:07:36 -03:00
parent 30485f0ef5
commit 15186319fd
No known key found for this signature in database
GPG Key ID: 15EDAD8D9F2EB1AF
2 changed files with 2 additions and 2 deletions

View File

@ -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 {

View File

@ -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()) {