Browse Source

05/26/2021 12:13:33 AM MST

master
coldstar 3 years ago
parent
commit
1eccca8f44
1 changed files with 6 additions and 6 deletions
  1. +6
    -6
      views/transaction.pug

+ 6
- 6
views/transaction.pug View File

@@ -168,9 +168,9 @@ block content


td td
if (vout.scriptPubKey && vout.scriptPubKey.addresses) if (vout.scriptPubKey && vout.scriptPubKey.addresses)
span(class="monospace") #{vout.scriptPubKey.addresses[0]}
//span(class="monospace")
//a(href=("/address/" + vout.scriptPubKey.addresses[0]))
//span(class="monospace") #{vout.scriptPubKey.addresses[0]}
span(class="monospace")
a(href=("/address/" + vout.scriptPubKey.addresses[0])) #{vout.scriptPubKey.addresses[0]}
br br
span(class="monospace text-muted") via tx span(class="monospace text-muted") via tx
a(href=("/tx/" + txInput.txid + "#output-" + result.getrawtransaction.vin[txInputIndex].vout), class="monospace") #{txInput.txid.substring(0, 14)}..., Output ##{result.getrawtransaction.vin[txInputIndex].vout + 1} a(href=("/tx/" + txInput.txid + "#output-" + result.getrawtransaction.vin[txInputIndex].vout), class="monospace") #{txInput.txid.substring(0, 14)}..., Output ##{result.getrawtransaction.vin[txInputIndex].vout + 1}
@@ -201,9 +201,9 @@ block content
if (vout.scriptPubKey) if (vout.scriptPubKey)
if (vout.scriptPubKey.addresses) if (vout.scriptPubKey.addresses)
a(id="output-" + voutIndex) a(id="output-" + voutIndex)
span(class="monospace") #{vout.scriptPubKey.addresses[0]}
//span(class="monospace")
//a(href=("/address/" + vout.scriptPubKey.addresses[0]))
//span(class="monospace") #{vout.scriptPubKey.addresses[0]}
span(class="monospace")
a(href=("/address/" + vout.scriptPubKey.addresses[0])) #{vout.scriptPubKey.addresses[0]}


else if (vout.scriptPubKey.hex && vout.scriptPubKey.hex.startsWith('6a24aa21a9ed')) else if (vout.scriptPubKey.hex && vout.scriptPubKey.hex.startsWith('6a24aa21a9ed'))
span(class="monospace") Segregated Witness committment - span(class="monospace") Segregated Witness committment -


Loading…
Cancel
Save