fix sci notation

This commit is contained in:
Matias Alejo Garcia 2014-05-17 00:21:21 -03:00
parent 6af93f18bf
commit c5338eb2a8
1 changed files with 1 additions and 0 deletions

View File

@ -30,6 +30,7 @@ Rpc._parseTxResult = function(info) {
// Outputs => add total
var valueOutSat = 0;
info.vout.forEach( function(o) {
o.value = o.value.toFixed(8);
valueOutSat += o.value * bitcore.util.COIN;
delete o.scriptPubKey.hex;
});