paypro: controller unit tests for payment protocol.
This commit is contained in:
parent
4cbc9ebf63
commit
b89ad8f3cc
3 changed files with 29 additions and 1 deletions
|
|
@ -1027,7 +1027,8 @@ Wallet.prototype.createPaymentTxSync = function(options, merchantData, unspent)
|
|||
var outs = [];
|
||||
merchantData.pr.pd.outputs.forEach(function(output) {
|
||||
outs.push({
|
||||
address: self.getAddressesStr()[0] || '1NGYre1pSqTnCXaqN5gLQ1e2KNTJXjDhtF', // dummy address
|
||||
address: self.getAddressesStr()[0]
|
||||
|| 'mfWxJ45yp2SFn7UciZyNpvDKrzbhyfKrY8', // dummy address (testnet 0 * hash160)
|
||||
amountSatStr: '0' // dummy amount
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue