diff --git a/frontend/src/app/components/transactions-list/transactions-list.component.html b/frontend/src/app/components/transactions-list/transactions-list.component.html index 957253b4a..7c65c0981 100644 --- a/frontend/src/app/components/transactions-list/transactions-list.component.html +++ b/frontend/src/app/components/transactions-list/transactions-list.component.html @@ -128,7 +128,10 @@ - {{ vout.scriptpubkey_type | scriptpubkeyType }} {{ vout.scriptpubkey_asm | hex2ascii }} + + OP_RETURN {{ vout.scriptpubkey_asm | hex2ascii }} + + {{ vout.scriptpubkey_type | scriptpubkeyType }} diff --git a/frontend/src/app/shared/pipes/scriptpubkey-type-pipe/scriptpubkey-type.pipe.ts b/frontend/src/app/shared/pipes/scriptpubkey-type-pipe/scriptpubkey-type.pipe.ts index d4725a2c5..1ab77f965 100644 --- a/frontend/src/app/shared/pipes/scriptpubkey-type-pipe/scriptpubkey-type.pipe.ts +++ b/frontend/src/app/shared/pipes/scriptpubkey-type-pipe/scriptpubkey-type.pipe.ts @@ -9,9 +9,12 @@ export class ScriptpubkeyTypePipe implements PipeTransform { switch (value) { case 'fee': return 'Transaction fee'; + case 'p2pk': + return 'P2PK'; case 'op_return': + return 'OP_RETURN'; default: - return 'OP_RETURN'; + return value.toUpperCase(); } }