Skip to content

Commit

Permalink
wallet: Use BIP44 coin type in descriptor wallet derivation path
Browse files Browse the repository at this point in the history
  • Loading branch information
lateminer committed Nov 16, 2024
1 parent 7bf3d40 commit 7063791
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/wallet/scriptpubkeyman.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2329,7 +2329,8 @@ bool DescriptorScriptPubKeyMan::SetupDescriptorGeneration(const CExtKey& master_
if (Params().IsTestChain()) {
desc_prefix += "/1h";
} else {
desc_prefix += "/0h";
// Blackcoin: Use BIP44 value according to https://github.com/satoshilabs/slips/blob/master/slip-0044.md
desc_prefix += "/10h";
}

std::string internal_path = internal ? "/1" : "/0";
Expand Down

0 comments on commit 7063791

Please sign in to comment.