mirror of https://github.com/BTCPrivate/copay.git
Fix check paypro for bch top-up
This commit is contained in:
parent
c377eded1b
commit
afbb75a35e
|
@ -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) => {
|
||||
|
|
Loading…
Reference in New Issue