diff --git a/packages/hdwallet-ledger/src/bitcoin.ts b/packages/hdwallet-ledger/src/bitcoin.ts index 624e0a48a..a71841a1c 100644 --- a/packages/hdwallet-ledger/src/bitcoin.ts +++ b/packages/hdwallet-ledger/src/bitcoin.ts @@ -75,8 +75,9 @@ export async function btcGetPublicKeys( // Ledger returns // - LTC pubkeys in Ltub format for all scriptTypes. // - BTC pubkeys in xpub format for all scriptTypes + // - Doge pubkeys in xpub format instead of dgub // They *are* the correct accounts, but not in the format we want. - // We need to convert SegWit pubkeys to Mtubs/xpubs, and SegWit native to zpubs. + // We need to convert SegWit pubkeys to Mtubs/ypubs, and SegWit native to zpubs, and Doge xpubs to dgubs. const xpub = convertXpubVersion(_xpub, scriptTypeToAccountType[getPublicKey.scriptType], getPublicKey.coin); xpubs.push({