From 75144bb348e83170a93fd38ba3a520e9a795b995 Mon Sep 17 00:00:00 2001
From: Martin Varmuza <mvarmuza@gmail.com>
Date: Mon, 27 Jan 2025 18:31:58 +0100
Subject: [PATCH] feat(connect-popup): enable taproot discovery

---
 packages/connect/src/api/common/Discovery.ts | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/packages/connect/src/api/common/Discovery.ts b/packages/connect/src/api/common/Discovery.ts
index 29859464293..f8746572a32 100644
--- a/packages/connect/src/api/common/Discovery.ts
+++ b/packages/connect/src/api/common/Discovery.ts
@@ -70,13 +70,13 @@ export class Discovery extends EventEmitter {
                     getPath: getDescriptor.bind(this, 84),
                 });
             }
-            // if (coinInfo.taproot) {
-            // TODO: enable taproot/p2tr discovery type in popup
-            // this.types.push({
-            //     type: 'p2tr',
-            //     getPath: getDescriptor.bind(this, 86),
-            // });
-            // }
+            if (coinInfo.taproot) {
+                // TODO: enable taproot/p2tr discovery type in popup
+                this.types.push({
+                    type: 'p2tr',
+                    getPath: getDescriptor.bind(this, 86),
+                });
+            }
             // add segwit/p2sh discovery type (normal if bech32 is not supported)
             if (coinInfo.xPubMagicSegwit) {
                 this.types.push({