Skip to content

Commit

Permalink
consensus: change debug log for candidate message
Browse files Browse the repository at this point in the history
- Remove txs bytes from log
- Add signature to the log
  • Loading branch information
herr-seppia committed Oct 8, 2024
1 parent ccd230c commit 236336b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions consensus/src/proposal/block_generator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,12 @@ impl<T: Operations> Generator<T> {
dur = format!("{:?}ms", start.elapsed().as_millis()),
);

debug!("block: {:?}", &candidate);

let mut candidate = Candidate { candidate };

candidate.sign(&ru.secret_key, ru.pubkey_bls.inner());

debug!(event = "candidate singed", header = ?candidate.header());

Ok(candidate.into())
}

Expand Down

0 comments on commit 236336b

Please sign in to comment.