paypro: controller unit tests for payment protocol.

This commit is contained in:
Christopher Jeffrey 2014-07-29 17:28:47 -07:00 committed by Manuel Araoz
commit b89ad8f3cc
3 changed files with 29 additions and 1 deletions

View file

@ -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
});
});