mirror of
https://github.com/mimblewimble/grin.git
synced 2025-01-21 03:21:08 +03:00
Use local ref to syncing
This commit is contained in:
parent
28ac46c563
commit
4fa7f34b7e
1 changed files with 1 additions and 1 deletions
|
@ -244,7 +244,7 @@ impl NetToChainAdapter {
|
||||||
|
|
||||||
/// Prepare options for the chain pipeline
|
/// Prepare options for the chain pipeline
|
||||||
fn chain_opts(&self) -> chain::Options {
|
fn chain_opts(&self) -> chain::Options {
|
||||||
let opts = if self.syncer.borrow().syncing() {
|
let opts = if self.syncing() {
|
||||||
chain::SYNC
|
chain::SYNC
|
||||||
} else {
|
} else {
|
||||||
chain::NONE
|
chain::NONE
|
||||||
|
|
Loading…
Reference in a new issue