Skip to content

Commit

Permalink
fix: spammy log - not a validator (#11647)
Browse files Browse the repository at this point in the history
See #11400 (comment)

It seems non-validator nodes still call
`process_ready_orphan_witnesses_and_clean_old` and logging an error in
such case is spammy.
  • Loading branch information
staffik committed Jun 25, 2024
1 parent 54d08fb commit de83cf0
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,6 @@ impl Client {
) {
if let Some(signer) = signer {
self.process_ready_orphan_witnesses(new_block, signer);
} else {
tracing::error!(target: "client", new_block=?new_block.hash(), "Cannot process ready orphan witnesses - not a validator");
}

// Remove all orphan witnesses that are below the last final block of the new block.
Expand Down

0 comments on commit de83cf0

Please sign in to comment.