From f6157e6d321accb8f6f0f07acb0fc28de86f8661 Mon Sep 17 00:00:00 2001 From: Gustavo Cortez Date: Tue, 27 May 2014 10:33:19 -0300 Subject: [PATCH] Fixed round value of latest transaction list (home) --- app/controllers/socket.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }