Skip to content

Commit 5c1614a

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 6c96ddc commit 5c1614a

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
@@ -156,7 +156,7 @@ impl DescriptorXKey<bip32::ExtendedPrivKey> {
156156
/// private key before turning it into a public key.
157157
///
158158
/// If the key already has an origin, the derivation steps applied will be appended to the path
159-
/// already present, otherwise this key will be treated as "root" key and an origin will be
159+
/// already present, otherwise this key will be treated as a master key and an origin will be
160160
/// added with this key's fingerprint and the derivation steps applied.
161161
fn as_public<C: Signing>(
162162
&self,

0 commit comments

Comments
 (0)