aboutsummaryrefslogtreecommitdiff
path: root/src/hdk.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/hdk.rs')
-rw-r--r--src/hdk.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hdk.rs b/src/hdk.rs
index 25b3847..3c2af45 100644
--- a/src/hdk.rs
+++ b/src/hdk.rs
@@ -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> {