Merge pull request #90 from cmgustavo/bug/01-last-tx-value
Fixed round value of latest transaction list (home)
This commit is contained in:
commit
04db5279a8
|
@ -35,7 +35,7 @@ module.exports.broadcastTx = function(tx) {
|
||||||
valueOut += o.valueSat;
|
valueOut += o.valueSat;
|
||||||
});
|
});
|
||||||
|
|
||||||
t.valueOut = (valueOut/util.COIN).toFixed(0);
|
t.valueOut = (valueOut.toFixed(8)/util.COIN);
|
||||||
}
|
}
|
||||||
ios.sockets.in('inv').emit('tx', t);
|
ios.sockets.in('inv').emit('tx', t);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue