change is_close_to_tip() to always return true; which should make zebra broadcast mined blocks if it's a lone miner

This commit is contained in:
Conrado Gouvea 2024-10-02 21:18:28 -03:00
parent a22e18ba8d
commit 211d9939e3
1 changed files with 2 additions and 0 deletions

View File

@ -52,6 +52,8 @@ impl SyncStatus {
impl ChainSyncStatus for SyncStatus {
/// Check if the synchronization is likely close to the chain tip.
fn is_close_to_tip(&self) -> bool {
return true;
let sync_lengths = self.latest_sync_length.borrow();
// Return early if sync_lengths is empty.