From 42ff6c2f6b31349d0bc01143e6fae3f5f812e672 Mon Sep 17 00:00:00 2001 From: Ignotus Peverell Date: Tue, 17 Oct 2017 14:06:18 +0000 Subject: [PATCH] Clean up last 2 refs to syncing from adapter --- grin/src/adapters.rs | 4 ++-- grin/src/server.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/grin/src/adapters.rs b/grin/src/adapters.rs index e018abcd3..e80a50e6d 100644 --- a/grin/src/adapters.rs +++ b/grin/src/adapters.rs @@ -71,7 +71,7 @@ impl NetAdapter for NetToChainAdapter { debug!(LOGGER, "Block {} refused by chain: {:?}", bhash, e); } - if self.syncer.borrow().syncing() { + if self.syncing() { self.syncer.borrow().block_received(bhash); } } @@ -115,7 +115,7 @@ impl NetAdapter for NetToChainAdapter { added_hs.len() ); - if self.syncer.borrow().syncing() { + if self.syncing() { self.syncer.borrow().headers_received(added_hs); } } diff --git a/grin/src/server.rs b/grin/src/server.rs index 3e8e23228..c7854bb99 100644 --- a/grin/src/server.rs +++ b/grin/src/server.rs @@ -120,7 +120,7 @@ impl Server { Seeding::None => { warn!( LOGGER, - "No seed configured, will stay solo unless connected to" + "No seed configured, will stay solo until connected to" ); } Seeding::List => {