diff options
author | Wei-Ning Huang <w@dexon.org> | 2019-03-11 12:10:39 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 21:32:57 +0800 |
commit | aba923d4065e0b1f716a54539058a932bd6a89e0 (patch) | |
tree | 31843f7bd16ddc48d1c0c47e4b4a626650dd4418 /dex/blockproposer.go | |
parent | a9b1ad951f5cb3d032dca899a595b6c781aefb3e (diff) | |
download | dexon-aba923d4065e0b1f716a54539058a932bd6a89e0.tar dexon-aba923d4065e0b1f716a54539058a932bd6a89e0.tar.gz dexon-aba923d4065e0b1f716a54539058a932bd6a89e0.tar.bz2 dexon-aba923d4065e0b1f716a54539058a932bd6a89e0.tar.lz dexon-aba923d4065e0b1f716a54539058a932bd6a89e0.tar.xz dexon-aba923d4065e0b1f716a54539058a932bd6a89e0.tar.zst dexon-aba923d4065e0b1f716a54539058a932bd6a89e0.zip |
dex: rename IsLatticeSyncing to IsCoreSyncing (#238)
Diffstat (limited to 'dex/blockproposer.go')
-rw-r--r-- | dex/blockproposer.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dex/blockproposer.go b/dex/blockproposer.go index 9827e1ed0..ad8b4c2b0 100644 --- a/dex/blockproposer.go +++ b/dex/blockproposer.go @@ -92,7 +92,7 @@ func (b *blockProposer) Stop() { } } -func (b *blockProposer) IsLatticeSyncing() bool { +func (b *blockProposer) IsCoreSyncing() bool { return atomic.LoadInt32(&b.syncing) == 1 } |