summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Rhinelander <jason@imaginary.ca>2020-09-11 17:43:17 -0300
committerJason Rhinelander <jason@imaginary.ca>2020-09-11 17:43:17 -0300
commitb78b8740cd7f62a362d396621ce6e3bf730bbd2e (patch)
treeb5fc909cbb1df5ccfa297bd0ea66b75190b1463d
parent684c600803d66326bdf20e3644e0fb8db4da4d50 (diff)
Don't show miner blocks as having 1 input
It's a generated output, the "vin" element is just a filler rather than an actual input.
-rw-r--r--templates/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/index.html b/templates/index.html
index 641ac5b..a6e114a 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -158,7 +158,7 @@
<td><a href="/tx/{{b.miner_tx_hash}}">{{b.miner_tx_hash}}</a></td>
<td>{{fee.display(b.txs[0])}}</td>
<td>{{b.reward | loki(tag=False, fixed=True, decimals=2)}}</td>
- <td>{{b.txs[0].info.vin | length}}/{{b.txs[0].info.vout | length}}</td>
+ <td>0/{{b.txs[0].info.vout | length}}</td>
<td>{{b.txs[0].size | si}}</td>
</tr>
{% for tx in b.txs[1:] %}