Kaynağa Gözat

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

master
coldstar 3 yıl önce
ebeveyn
işleme
84d9694a5a
2 değiştirilmiş dosya ile 9 ekleme ve 3 silme
  1. +3
    -1
      views/includes/block-content.pug
  2. +6
    -2
      views/transaction.pug

+ 3
- 1
views/includes/block-content.pug Dosyayı Görüntüle

@@ -147,7 +147,9 @@ div(class="tab-content")

td
if (vout.scriptPubKey && vout.scriptPubKey.addresses)
span(class="monospace") #{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-" + tx.vin[txInputIndex].vout), class="monospace") #{txInput.txid.substring(0, 14)}..., Output ##{tx.vin[txInputIndex].vout + 1}


+ 6
- 2
views/transaction.pug Dosyayı Görüntüle

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

td
if (vout.scriptPubKey && vout.scriptPubKey.addresses)
span(class="monospace") #{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}
@@ -199,7 +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") #{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 -


Yükleniyor…
İptal
Kaydet