Merge pull request #90 from cmgustavo/bug/01-last-tx-value

Fixed round value of latest transaction list (home)
This commit is contained in:
Mario Colque 2014-05-27 10:44:35 -03:00
commit 04db5279a8
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}