Merge pull request #236 from bitsblock/master
Remove scriptSig.hex and scriptPubKey.hex delete lines
This commit is contained in:
commit
89192552cd
|
@ -24,7 +24,6 @@ Rpc._parseTxResult = function(info) {
|
|||
info.vin.forEach(function(i) {
|
||||
i.n = n++;
|
||||
if (i.coinbase) info.isCoinBase = true;
|
||||
if (i.scriptSig) delete i.scriptSig.hex;
|
||||
});
|
||||
|
||||
// Outputs => add total
|
||||
|
@ -32,7 +31,6 @@ Rpc._parseTxResult = function(info) {
|
|||
info.vout.forEach( function(o) {
|
||||
o.value = o.value.toFixed(8);
|
||||
valueOutSat += o.value * bitcore.util.COIN;
|
||||
delete o.scriptPubKey.hex;
|
||||
});
|
||||
info.valueOut = valueOutSat.toFixed(0) / bitcore.util.COIN;
|
||||
info.size = b.length;
|
||||
|
|
Loading…
Reference in New Issue