Merge pull request #8105 from cmgustavo/bug/fix-top-up-02

Fix check paypro for bch top-up
This commit is contained in:
Gabriel Masclef 2018-02-23 14:47:58 -03:00 committed by GitHub
commit 6da3b1025f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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) => {