Fix check paypro for bch top-up

This commit is contained in:
Gustavo Maximiliano Cortez 2018-02-23 14:35:26 -03:00
parent c377eded1b
commit afbb75a35e
No known key found for this signature in database
GPG Key ID: 15EDAD8D9F2EB1AF
1 changed files with 1 additions and 0 deletions

View File

@ -264,6 +264,7 @@ export class BitPayCardTopUpPage {
if (wallet.coin && wallet.coin == 'bch') {
// Use legacy address
txp.toAddress = this.bitcoreCash.Address(txp.toAddress).toString();
txp.outputs[0].toAddress = txp.toAddress;
}
this.walletProvider.createTx(wallet, txp).then((ctxp: any) => {