diff --git a/servers/src/grin/sync.rs b/servers/src/grin/sync.rs index f8ce69264..fb7623309 100644 --- a/servers/src/grin/sync.rs +++ b/servers/src/grin/sync.rs @@ -352,10 +352,6 @@ fn needs_syncing( /// Even if sync_head is significantly out of date we will "reset" it once we /// start getting headers back from a peer. /// -/// TODO - this gets *expensive* with a large header chain to iterate over -/// as we need to get each block header from the db -/// can we add a get_block_header_by_height(height, hash) ??? -/// fn get_locator(chain: Arc) -> Result, Error> { let tip = chain.get_sync_head()?; let heights = get_locator_heights(tip.height);