mirror of
https://github.com/chatmail/core.git
synced 2026-05-02 21:06:31 +03:00
remove debug logging and fix update_gossip_headers location
This commit is contained in:
committed by
dignifiedquire
parent
db88212a64
commit
1c5a3e6698
@@ -475,11 +475,6 @@ impl<'a, 'b> MimeFactory<'a, 'b> {
|
||||
|
||||
// Add gossip headers
|
||||
if do_gossip {
|
||||
info!(
|
||||
self.context,
|
||||
"gossiping headers for {} peerstates",
|
||||
peerstates.len()
|
||||
);
|
||||
for peerstate in peerstates.iter().filter_map(|(state, _)| state.as_ref()) {
|
||||
if peerstate.peek_key(min_verified).is_some() {
|
||||
if let Some(header) = peerstate.render_gossip_header(min_verified) {
|
||||
|
||||
Reference in New Issue
Block a user