fix utxo cache
This commit is contained in:
parent
d3267f47ef
commit
ef451f8342
@ -244,8 +244,9 @@ AddressController.prototype.multiutxo = function(req, res) {
|
|||||||
if (utxos.length - 1 === i) {
|
if (utxos.length - 1 === i) {
|
||||||
sep = '';
|
sep = '';
|
||||||
}
|
}
|
||||||
|
utxos[i] = self.transformUtxo(utxos[i]);
|
||||||
cache.push(utxos[i]);
|
cache.push(utxos[i]);
|
||||||
res.write(JSON.stringify(self.transformUtxo(utxos[i])) + sep);
|
res.write(JSON.stringify(utxos[i]) + sep);
|
||||||
}
|
}
|
||||||
|
|
||||||
sep = ',';
|
sep = ',';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user