paypro: show actual notification if there are no unspent outputs for payment request.
This commit is contained in:
parent
f5b1afdbf1
commit
fe2118fcbe
2 changed files with 6 additions and 9 deletions
|
|
@ -934,7 +934,7 @@ Wallet.prototype.receivePaymentRequest = function(options, pr, cb) {
|
|||
return this.getUnspent(function(err, unspent) {
|
||||
if (options.fetch) {
|
||||
if (!unspent || !unspent.length) {
|
||||
return cb(new Error('No unspent outputs.'));
|
||||
return cb(new Error('No unspent outputs available.'));
|
||||
}
|
||||
self.createPaymentTxSync(options, merchantData, unspent);
|
||||
return cb(null, merchantData, pr);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue