Skip to content

Commit

Permalink
sign a better message; move log spam to trace level
Browse files Browse the repository at this point in the history
  • Loading branch information
xoloki committed Oct 17, 2023
1 parent 144ec3f commit 64a5b91
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 3 additions & 1 deletion src/state_machine/coordinator/fire.rs
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,9 @@ pub mod test {
}

// We have started a signing round
let msg = vec![1, 2, 3];
let msg = "It was many and many a year ago, in a kingdom by the sea"
.as_bytes()
.to_vec();
let is_taproot = false;
let merkle_root = None;
let message = coordinator
Expand Down
4 changes: 3 additions & 1 deletion src/state_machine/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,9 @@ pub mod test {
}

// We have started a signing round
let msg = vec![1, 2, 3];
let msg = "It was many and many a year ago, in a kingdom by the sea"
.as_bytes()
.to_vec();
let is_taproot = false;
let merkle_root = None;
let message = coordinator
Expand Down
4 changes: 2 additions & 2 deletions src/state_machine/signer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use p256k1::{
};
use rand_core::{CryptoRng, OsRng, RngCore};
use std::collections::BTreeMap;
use tracing::{debug, info, warn};
use tracing::{debug, info, trace, warn};

use crate::{
common::{PolyCommitment, PublicNonce},
Expand Down Expand Up @@ -441,7 +441,7 @@ impl<Signer: SignerTrait> SigningRound<Signer> {
self.dkg_id,
);

debug!(
trace!(
"Signer {} shares {:?}",
self.signer_id,
&self.signer.get_shares()
Expand Down

0 comments on commit 64a5b91

Please sign in to comment.