From 5c3b0f4d37193723ae54e5175b147450aa70bb34 Mon Sep 17 00:00:00 2001 From: Ivan Socolsky Date: Mon, 4 Sep 2017 10:40:16 -0300 Subject: [PATCH] get utxos based on current wallet coin --- lib/server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/server.js b/lib/server.js index b39ed4a..0ec28bd 100644 --- a/lib/server.js +++ b/lib/server.js @@ -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);