Skip to content

Commit

Permalink
doc: Typo in doc
Browse files Browse the repository at this point in the history
  • Loading branch information
fubuloubu committed Feb 5, 2020
1 parent 196f9d3 commit 34f0438
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eth_account/hdaccount/deterministic.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def derive_child_key(
The function CKDpriv((k_par, c_par), i) → (k_i, c_i) computes a child extended
private key from the parent extended private key:
- Check whether i ≥ 231 (whether the child is a hardened key).
- Check whether i ≥ 2**31 (whether the child is a hardened key).
- If so (hardened child):
let I = HMAC-SHA512(Key = c_par, Data = 0x00 || ser_256(kpar) || ser_32(i)).
(Note: The 0x00 pads the private key to make it 33 bytes long.)
Expand Down

0 comments on commit 34f0438

Please sign in to comment.