fix sci notation
This commit is contained in:
parent
6af93f18bf
commit
c5338eb2a8
|
@ -30,6 +30,7 @@ Rpc._parseTxResult = function(info) {
|
||||||
// Outputs => add total
|
// Outputs => add total
|
||||||
var valueOutSat = 0;
|
var valueOutSat = 0;
|
||||||
info.vout.forEach( function(o) {
|
info.vout.forEach( function(o) {
|
||||||
|
o.value = o.value.toFixed(8);
|
||||||
valueOutSat += o.value * bitcore.util.COIN;
|
valueOutSat += o.value * bitcore.util.COIN;
|
||||||
delete o.scriptPubKey.hex;
|
delete o.scriptPubKey.hex;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue