File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -50,12 +50,6 @@ impl ChainstateHandle {
50
50
self . handle . call ( move |cs| func ( cs) ) . await ?
51
51
}
52
52
53
- // FIXME: here we call cs.is_initial_block_download if the previous result was true,
54
- // but stop doing it once it becomes false.
55
- // The original implementation though used to go further with the optimization, always
56
- // returning the cached value and updating it in the NewTip event handler.
57
- // Technically, we could do it here too, e.g. by moving sync::subscribe_to_new_tip to
58
- // this struct. But does it make sense?
59
53
pub async fn is_initial_block_download ( & self ) -> crate :: Result < bool > {
60
54
// Note: is_initial_block_download can only go from true to false.
61
55
if !self . is_initial_block_download . load ( ) {
You can’t perform that action at this time.
0 commit comments