diff --git a/views/transaction.pug b/views/transaction.pug index 1de3c8e..ca79b43 100644 --- a/views/transaction.pug +++ b/views/transaction.pug @@ -269,6 +269,9 @@ block content td if (vout.scriptPubKey && vout.scriptPubKey.asm) span(class="word-wrap monospace") #{vout.scriptPubKey.asm} + if (vout.scriptPubKey.asm.startsWith("OP_RETURN")) + br + span(class="word-wrap monospace text-muted") (decoded) #{utils.hex2ascii(vout.scriptPubKey.asm)} div(id="tab-raw", class="tab-pane", role="tabpanel") div(class="highlight")