get utxos based on current wallet coin

This commit is contained in:
Ivan Socolsky 2017-09-04 10:40:16 -03:00
parent 5ba71f1641
commit 5c3b0f4d37
No known key found for this signature in database
GPG Key ID: FAECE6A05FAA4F56
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
self.getUtxos({}, function(err, utxos) {
self._getUtxosForCurrentWallet({}, function(err, utxos) {
if (err) return cb(err);
var txpInputs = _.map(txp.inputs, utxoKey);