Skip to content

Commit

Permalink
Comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
evoskuil committed Aug 6, 2024
1 parent 994057e commit 62d904b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/chasers/chaser_populate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,10 @@ void chaser_populate::do_populate(const block::cptr& block,
/*bool*/ ////archive().populate(*block);

// Use all closure parameters to ensure they aren't optimized out.
// Captured block is not deleted until closure over this method deletes.
if (block->is_valid() && is_nonzero(height) &&
link != header_link::terminal)
{
// Sends notification and deletes captured block in creating strand.
// Notify coincident with delete ensures there is no cleanup backlog.
complete(error::success);
}
Expand Down

0 comments on commit 62d904b

Please sign in to comment.