Browse Source

05/26/2021 12:10:50 AM MST

master
coldstar 3 years ago
parent
commit
ac526c978f
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
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]))
br
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}
@@ -201,9 +201,9 @@ block content
if (vout.scriptPubKey)
if (vout.scriptPubKey.addresses)
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]))

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


Loading…
Cancel
Save