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 authored Jun 21, 2024
1 parent 2a987eb commit 5ef1ac3
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 5ef1ac3

Please sign in to comment.