// WaitSync returns whether the consensus reactor is waiting for state/block sync.
WaitSync returns whether the consensus reactor is waiting for state/block sync.
// WaitSync returns whether the consensus reactor is waiting for state / block sync .
func (r *Reactor) WaitSync() bool {
	r.mtx.RLock()
	defer r.mtx.RUnlock()
	return r.waitSync
}
func ( r * Reactor ) WaitSync ( ) bool { r . mtx . RLock ( ) defer r . mtx . RUnlock ( ) return r . waitSync }
WaitSync returns whether the consensus reactor is waiting for state/block sync.
WaitSync returns whether the consensus reactor is waiting for state / block sync .