From e74f851f64c16053f9b06843febbbd8bbbd44880 Mon Sep 17 00:00:00 2001 From: Dustin Ray <40841027+drcapybara@users.noreply.github.com> Date: Mon, 15 Jan 2024 07:22:09 -0800 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9c622e8..b51b097 100644 --- a/README.md +++ b/README.md @@ -104,7 +104,7 @@ fn sign(&mut self, key: &KeyPair, d: u64) { let k: Scalar = bytes_to_scalar(kmac_xof(&s_bytes, &self.msg, 448, "N", d)) * (Scalar::from(4_u64)); - let U = ExtendedPoint::tw_generator() * k; + let U = ExtendedPoint::generator() * k; let ux_bytes = U.to_affine().x.to_bytes().to_vec(); let h = kmac_xof(&ux_bytes, &self.msg, 448, "T", d); let h_big = bytes_to_scalar(h.clone());