diff --git a/src/util/bip32.rs b/src/util/bip32.rs index 769122d2..112dd83d 100644 --- a/src/util/bip32.rs +++ b/src/util/bip32.rs @@ -901,13 +901,14 @@ mod tests { assert_eq!(indexed.child(ChildNumber::from_hardened_idx(2).unwrap()), path); } - fn test_path(secp: &Secp256k1, - network: Network, - seed: &[u8], - path: DerivationPath, - expected_sk: &str, - expected_pk: &str) { - + fn test_path( + secp: &Secp256k1, + network: Network, + seed: &[u8], + path: DerivationPath, + expected_sk: &str, + expected_pk: &str) + { let mut sk = ExtendedPrivKey::new_master(network, seed).unwrap(); let mut pk = ExtendedPubKey::from_priv(secp, &sk);