Correct misc TODOs in monero-serai

This commit is contained in:
Luke Parker
2024-07-05 23:30:02 -04:00
parent 90880cc9c8
commit 1f5e5fc7ac
27 changed files with 266 additions and 111 deletions

View File

@@ -43,10 +43,10 @@ fn generators(prefix: &'static str, path: &str) {
static GENERATORS_CELL: OnceLock<Generators> = OnceLock::new();
pub(crate) fn GENERATORS() -> &'static Generators {{
GENERATORS_CELL.get_or_init(|| Generators {{
G: vec![
G: std_shims::vec![
{G_str}
],
H: vec![
H: std_shims::vec![
{H_str}
],
}})

View File

@@ -1,6 +1,6 @@
#![allow(non_snake_case)]
use std_shims::{sync::OnceLock, vec};
use std_shims::sync::OnceLock;
use curve25519_dalek::{constants::ED25519_BASEPOINT_POINT, scalar::Scalar, edwards::EdwardsPoint};