Browse Source

Fix indentation, no functional changes

pull/138/head
Duke 4 months ago
parent
commit
0f8f028d7d
  1. 15
      lib/src/lib.rs

15
lib/src/lib.rs

@ -43,16 +43,13 @@ pub extern fn blake3_PW(pw: *const c_char) -> *mut c_char{
};
let data = passwd.as_bytes();
// Hash an input all at once.
let hash1 = blake3::hash(data).to_hex();
println!("\nBlake3 Hash: {}", hash1);
//let sttring = CString::new(hash1).unwrap();
let e_str = CString::new(format!("{}", hash1)).unwrap();
return e_str.into_raw();
// Hash an input all at once.
let hash1 = blake3::hash(data).to_hex();
println!("\nBlake3 Hash: {}", hash1);
//let sttring = CString::new(hash1).unwrap();
let e_str = CString::new(format!("{}", hash1)).unwrap();
return e_str.into_raw();
}
/// Create a new wallet and return the seed for the newly created wallet.

Loading…
Cancel
Save