Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bit of a refactor #1

Merged
merged 10 commits into from
Oct 24, 2022
Next Next commit
Remove useless curly brackets on empty struct
  • Loading branch information
Speykious committed Oct 24, 2022
commit 9e73672f8511b1579062ab5f83a8fb48a3007042
2 changes: 1 addition & 1 deletion src/encryption.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ pub struct Keys {

impl Keys {
pub fn new() -> Self {
let mut csprng = OsRng {};
let mut csprng = OsRng;
let keypair: Keypair = Keypair::generate(&mut csprng);

let nonce: String = rand::thread_rng()
Expand Down