diff --git a/app/controllers/socket.js b/app/controllers/socket.js index 9ecd56f1..6ef1f8f4 100644 --- a/app/controllers/socket.js +++ b/app/controllers/socket.js @@ -35,7 +35,7 @@ module.exports.broadcastTx = function(tx) { valueOut += o.valueSat; }); - t.valueOut = (valueOut/util.COIN).toFixed(0); + t.valueOut = (valueOut.toFixed(8)/util.COIN); } ios.sockets.in('inv').emit('tx', t); }