Skip to content

Commit b649842

Browse files
committed
Use 'master' instead of 'root'
The first key in a bip32 extended key is commonly referred to as the 'master' key not the 'root' key.
1 parent f38b2e5 commit b649842

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/descriptor/key.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ impl DescriptorXKey<bip32::ExtendedPrivKey> {
157157
/// private key before turning it into a public key.
158158
///
159159
/// If the key already has an origin, the derivation steps applied will be appended to the path
160-
/// already present, otherwise this key will be treated as "root" key and an origin will be
160+
/// already present, otherwise this key will be treated as a master key and an origin will be
161161
/// added with this key's fingerprint and the derivation steps applied.
162162
fn as_public<C: Signing>(
163163
&self,

0 commit comments

Comments
 (0)