Skip to content

Commit

Permalink
Clippy fixes and function updating
Browse files Browse the repository at this point in the history
  • Loading branch information
brianp committed Mar 29, 2023
1 parent 1159647 commit ee8560f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ impl WalletEventMonitor {
);
self.trigger_contacts_refresh().await;
}
ContactsLivenessEvent::NetworkSilence => {}
ContactsLivenessEvent::NetworkSilence => {},
}
}
Err(broadcast::error::RecvError::Lagged(n)) => {
Expand Down
3 changes: 2 additions & 1 deletion base_layer/wallet/src/wallet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -209,10 +209,11 @@ where
max_allowed_ping_failures: 0, // Peer with failed ping-pong will never be removed
..Default::default()
},
peer_message_subscription_factory,
peer_message_subscription_factory.clone(),
))
.add_initializer(ContactsServiceInitializer::new(
contacts_backend,
peer_message_subscription_factory,
config.contacts_auto_ping_interval,
config.contacts_online_ping_window,
))
Expand Down
2 changes: 1 addition & 1 deletion base_layer/wallet_ffi/src/callback_handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ where TBackend: TransactionBackend + 'static
);
self.trigger_contacts_refresh(data.deref().clone());
}
ContactsLivenessEvent::NetworkSilence => {}
ContactsLivenessEvent::NetworkSilence => {},
}
}
Err(broadcast::error::RecvError::Lagged(n)) => {
Expand Down

0 comments on commit ee8560f

Please sign in to comment.