From 9a3f426e0ca1a40fd1cbfac7c1ef5f3226970a37 Mon Sep 17 00:00:00 2001 From: 1xstj <106580853+1xstj@users.noreply.github.com> Date: Fri, 17 Feb 2023 13:10:12 +0530 Subject: [PATCH] [fix] Change log level of multiple key error to warn (#499) Co-authored-by: shekohex --- dkg-gadget/src/keystore.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dkg-gadget/src/keystore.rs b/dkg-gadget/src/keystore.rs index 79199a166..589f49a8a 100644 --- a/dkg-gadget/src/keystore.rs +++ b/dkg-gadget/src/keystore.rs @@ -52,7 +52,7 @@ impl DKGKeystore { .collect(); if public.len() > 1 { - trace!(target: "dkg", "🕸️ Multiple private keys found for: {:?} ({})", public, public.len()); + warn!(target: "dkg", "🕸️ (authority_id) Multiple private keys found for: {:?} ({})", public, public.len()); } public.get(0).cloned() @@ -75,7 +75,7 @@ impl DKGKeystore { .collect(); if public.len() > 1 { - trace!(target: "dkg", "🕸️ Multiple private keys found for: {:?} ({})", public, public.len()); + warn!(target: "dkg", "🕸️ (sr25519_public_key) Multiple private keys found for: {:?} ({})", public, public.len()); } public.get(0).cloned()