Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slip132: make x/tpub/prv classified as hash-class keys and add tests #39

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions hd/src/standards.rs
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ impl DerivationStandard for Bip43 {
Some(match slip {
KeyApplication::Hashed => Bip43::Bip44,
KeyApplication::SegWit => Bip43::Bip84,
KeyApplication::SegWitMiltisig => Bip43::Bip48Native,
KeyApplication::SegWitMultisig => Bip43::Bip48Native,
KeyApplication::Nested => Bip43::Bip49,
KeyApplication::NestedMultisig => Bip43::Bip48Nested,
_ => return None,
Expand Down Expand Up @@ -585,7 +585,7 @@ impl DerivationStandard for Bip43 {
Bip43::Bip44 => slip132::KeyApplication::Hashed,
Bip43::Bip45 => return None,
Bip43::Bip48Nested => slip132::KeyApplication::NestedMultisig,
Bip43::Bip48Native => slip132::KeyApplication::SegWitMiltisig,
Bip43::Bip48Native => slip132::KeyApplication::SegWitMultisig,
Bip43::Bip49 => slip132::KeyApplication::Nested,
Bip43::Bip84 => slip132::KeyApplication::SegWit,
Bip43::Bip86 => return None,
Expand Down
Loading