This commit is contained in:
John Smith
2021-11-27 12:44:21 -05:00
parent d1f728954c
commit 028e02f942
31 changed files with 190 additions and 207 deletions
+1 -1
View File
@@ -23,6 +23,6 @@ impl RngCore for VeilidRng {
}
fn try_fill_bytes(&mut self, dest: &mut [u8]) -> Result<(), Error> {
intf::random_bytes(dest).map_err(|err| Error::new(err))
intf::random_bytes(dest).map_err(Error::new)
}
}