mirror of
https://github.com/mimblewimble/grin.git
synced 2025-01-21 03:21:08 +03:00
Clean up last 2 refs to syncing from adapter
This commit is contained in:
parent
affec50588
commit
42ff6c2f6b
2 changed files with 3 additions and 3 deletions
|
@ -71,7 +71,7 @@ impl NetAdapter for NetToChainAdapter {
|
||||||
debug!(LOGGER, "Block {} refused by chain: {:?}", bhash, e);
|
debug!(LOGGER, "Block {} refused by chain: {:?}", bhash, e);
|
||||||
}
|
}
|
||||||
|
|
||||||
if self.syncer.borrow().syncing() {
|
if self.syncing() {
|
||||||
self.syncer.borrow().block_received(bhash);
|
self.syncer.borrow().block_received(bhash);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -115,7 +115,7 @@ impl NetAdapter for NetToChainAdapter {
|
||||||
added_hs.len()
|
added_hs.len()
|
||||||
);
|
);
|
||||||
|
|
||||||
if self.syncer.borrow().syncing() {
|
if self.syncing() {
|
||||||
self.syncer.borrow().headers_received(added_hs);
|
self.syncer.borrow().headers_received(added_hs);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -120,7 +120,7 @@ impl Server {
|
||||||
Seeding::None => {
|
Seeding::None => {
|
||||||
warn!(
|
warn!(
|
||||||
LOGGER,
|
LOGGER,
|
||||||
"No seed configured, will stay solo unless connected to"
|
"No seed configured, will stay solo until connected to"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
Seeding::List => {
|
Seeding::List => {
|
||||||
|
|
Loading…
Reference in a new issue