diff options
| author | Nicholas Rodrigues Lordello <[email protected]> | 2021-08-17 20:25:03 +0000 |
|---|---|---|
| committer | Nicholas Rodrigues Lordello <[email protected]> | 2021-08-17 20:25:03 +0000 |
| commit | ce4994f3efaed2afbf75d58a627342bac54160db (patch) | |
| tree | 072ec72ae0f3e4e5e636eb84a380398a59c3bbee /src/hdk.rs | |
| parent | 53c20ea16872d1a7ab3e394d972f7b856d48dd0b (diff) | |
Signature now has a parity value
This is done as a pre-requisite to adding additional transaction types.
Diffstat (limited to 'src/hdk.rs')
| -rw-r--r-- | src/hdk.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -13,7 +13,7 @@ use secp256k1::{ use sha2::Sha512; /// A value indicating a path component is hardened. -const HARDENED: u32 = 0x80000000; +const HARDENED: u32 = 0x8000_0000; /// Creates a new extended private key from a seed. pub fn derive(seed: impl AsRef<[u8]>, path: &Path) -> Result<PrivateKey> { |
