1 parent
75e770f50c
commit
bff1e1b97b
2 files changed
+8
-2
No files matched your search
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user