Merge pull request #236 from bitsblock/master

Remove scriptSig.hex and scriptPubKey.hex delete lines
This commit is contained in:
Esteban Ordano 2014-11-10 12:55:31 -03:00
commit 89192552cd
1 changed files with 0 additions and 2 deletions

View File

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