mirror of
https://github.com/serai-dex/serai.git
synced 2024-12-23 03:59:22 +00:00
Log on new tendermint message debug -> trace
This commit is contained in:
parent
933b17aa91
commit
c73acb3d62
1 changed files with 2 additions and 2 deletions
|
@ -514,7 +514,7 @@ impl<N: Network + 'static> TendermintMachine<N> {
|
||||||
match step {
|
match step {
|
||||||
Step::Propose => {
|
Step::Propose => {
|
||||||
// Slash the validator for not proposing when they should've
|
// Slash the validator for not proposing when they should've
|
||||||
log::debug!(target: "tendermint", "Validator didn't propose when they should have");
|
log::debug!(target: "tendermint", "validator didn't propose when they should have");
|
||||||
// this slash will be voted on.
|
// this slash will be voted on.
|
||||||
self.slash(
|
self.slash(
|
||||||
self.weights.proposer(self.block.number, self.block.round().number),
|
self.weights.proposer(self.block.number, self.block.round().number),
|
||||||
|
@ -724,7 +724,7 @@ impl<N: Network + 'static> TendermintMachine<N> {
|
||||||
if !self.block.log.log(signed.clone())? {
|
if !self.block.log.log(signed.clone())? {
|
||||||
return Err(TendermintError::AlreadyHandled);
|
return Err(TendermintError::AlreadyHandled);
|
||||||
}
|
}
|
||||||
log::debug!(
|
log::trace!(
|
||||||
target: "tendermint",
|
target: "tendermint",
|
||||||
"received new tendermint message (block: {}, round: {}, step: {:?})",
|
"received new tendermint message (block: {}, round: {}, step: {:?})",
|
||||||
msg.block.0,
|
msg.block.0,
|
||||||
|
|
Loading…
Reference in a new issue