fix utxo cache

This commit is contained in:
Matias Alejo Garcia 2017-11-13 01:10:28 -03:00
parent d3267f47ef
commit ef451f8342

View File

@ -244,8 +244,9 @@ AddressController.prototype.multiutxo = function(req, res) {
if (utxos.length - 1 === i) {
sep = '';
}
utxos[i] = self.transformUtxo(utxos[i]);
cache.push(utxos[i]);
res.write(JSON.stringify(self.transformUtxo(utxos[i])) + sep);
res.write(JSON.stringify(utxos[i]) + sep);
}
sep = ',';