Browse Source

bug fix introduced in e0bd1e11ac for coinbase transactions

fix-133-memory-crash
Dan Janosik 7 years ago
parent
commit
d1c4d7f864
  1. 3
      views/includes/block-content.pug

3
views/includes/block-content.pug

@ -163,7 +163,8 @@ div(class="tab-content")
- totalInputValue = totalInputValue.plus(new Decimal(vout.value));
span(class="monospace") #{vout.value}
if (tx.vin.length > result.txInputsByTransaction[tx.txid].length)
- var coinbaseCount = tx.vin[0].coinbase ? 1 : 0;
if ((tx.vin.length - coinbaseCount) > result.txInputsByTransaction[tx.txid].length)
tr
td
td

Loading…
Cancel
Save