diff --git a/frontend/src/app/components/tx-features/tx-features.component.html b/frontend/src/app/components/tx-features/tx-features.component.html
index 49a1fa90f..16dbb66f4 100644
--- a/frontend/src/app/components/tx-features/tx-features.component.html
+++ b/frontend/src/app/components/tx-features/tx-features.component.html
@@ -6,11 +6,14 @@
-Taproot
+Taproot
- Taproot
+ Taproot
- Taproot
+ Taproot
+
+ Taproot
+
diff --git a/frontend/src/app/components/tx-features/tx-features.component.ts b/frontend/src/app/components/tx-features/tx-features.component.ts
index ce25bb097..f73d8ae8a 100644
--- a/frontend/src/app/components/tx-features/tx-features.component.ts
+++ b/frontend/src/app/components/tx-features/tx-features.component.ts
@@ -19,6 +19,7 @@ export class TxFeaturesComponent implements OnChanges {
realizedTaprootGains: 0
};
isRbfTransaction: boolean;
+ isTaproot: boolean;
constructor() { }
@@ -28,5 +29,6 @@ export class TxFeaturesComponent implements OnChanges {
}
this.segwitGains = calcSegwitFeeGains(this.tx);
this.isRbfTransaction = this.tx.vin.some((v) => v.sequence < 0xfffffffe);
+ this.isTaproot = this.tx.vin.some((v) => v.prevout && v.prevout.scriptpubkey_type === 'v1_p2tr');
}
}