Skip to content

Commit

Permalink
Skip checking that Zebra is likely synced to the network tip before r…
Browse files Browse the repository at this point in the history
…eturning block templates on Testnet.
  • Loading branch information
arya2 committed Jan 31, 2025
1 parent 90a7176 commit 383e62c
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -161,10 +161,7 @@ where
Tip: ChainTip + Clone + Send + Sync + 'static,
SyncStatus: ChainSyncStatus + Clone + Send + Sync + 'static,
{
// TODO:
// - Add a `disable_peers` field to `Network` to check instead of `disable_pow()` (#8361)
// - Check the field in `sync_status` so it applies to the mempool as well.
if network.disable_pow() {
if network.is_a_test_network() {
return Ok(());
}

Expand Down

0 comments on commit 383e62c

Please sign in to comment.