Skip to content

Commit

Permalink
[fix] Change log level of multiple key error to warn (#499)
Browse files Browse the repository at this point in the history
Co-authored-by: shekohex <[email protected]>
  • Loading branch information
1xstj and shekohex authored Feb 17, 2023
1 parent 999a8fb commit 9a3f426
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dkg-gadget/src/keystore.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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()
Expand Down

0 comments on commit 9a3f426

Please sign in to comment.