From 4e7ba07f5c10239f7fe7961c906c6c4ebef9ddf7 Mon Sep 17 00:00:00 2001 From: Heiko Schaefer Date: Wed, 31 Jan 2024 22:31:11 +0100 Subject: [PATCH] fix: debug output cleanup --- src/types/params/public.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/types/params/public.rs b/src/types/params/public.rs index 90b320c0e..b6cebe5dc 100644 --- a/src/types/params/public.rs +++ b/src/types/params/public.rs @@ -251,8 +251,8 @@ impl fmt::Debug for PublicParams { } => f .debug_struct("PublicParams::Elgamal") .field("p", &p) - .field("g", &y) - .field("y", &g) + .field("g", &g) + .field("y", &y) .finish(), PublicParams::EdDSA { ref curve, ref q } => f