Update tracing invocation to be better manipulated

Co-Authored-By: Henry de Valence <hdevalence@hdevalence.ca>
This commit is contained in:
Deirdre Connolly 2019-11-12 15:37:56 -05:00 committed by Deirdre Connolly
parent 73d777fe65
commit 4923e0d783
1 changed files with 1 additions and 4 deletions

View File

@ -65,10 +65,7 @@ impl Service<Request> for SeedService {
let response = match (req, &self.state) {
(Request::GetPeers, SeederState::Ready(address_book)) => {
debug!(
"address_book.len(): {:?}",
address_book.lock().unwrap().len()
);
debug!(address_book.len = address_book.lock().unwrap().len());
info!("SeedService responding to GetPeers");
Ok::<Response, Self::Error>(Response::Peers(
address_book.lock().unwrap().peers().collect(),