Merge pull request #697 from isocolsky/fix/send-max-cash

Fix UTXOs verification on send max
This commit is contained in:
Matias Alejo Garcia 2017-09-04 10:42:08 -03:00 committed by GitHub
commit f81b5484c5
1 changed files with 1 additions and 1 deletions

View File

@ -2222,7 +2222,7 @@ WalletService.prototype.publishTx = function(opts, cb) {
} }
// Verify UTXOs are still available // Verify UTXOs are still available
self.getUtxos({}, function(err, utxos) { self._getUtxosForCurrentWallet({}, function(err, utxos) {
if (err) return cb(err); if (err) return cb(err);
var txpInputs = _.map(txp.inputs, utxoKey); var txpInputs = _.map(txp.inputs, utxoKey);