Skip to content

Commit

Permalink
chore(connect): enable taproot in connect discovery
Browse files Browse the repository at this point in the history
  • Loading branch information
martykan committed Feb 11, 2025
1 parent 25ffdcd commit 1fd29d4
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions packages/connect/src/api/common/Discovery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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),
// });
// }
// add taproot/p2tr discovery type
if (coinInfo.taproot) {
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({
Expand Down

0 comments on commit 1fd29d4

Please sign in to comment.