View in context in the libbitcoin Slack #general mirror.
diff --git a/src/chasers/chaser_validate_batch.cpp b/src/chasers/chaser_validate_batch.cpp
index a269929f..9b8cfda7 100644
--- a/src/chasers/chaser_validate_batch.cpp
+++ b/src/chasers/chaser_validate_batch.cpp
@@ -210,8 +210,13 @@ bool chaser_validate::process_valids(bool residual) NOEXCEPT
continue;
size_t height{};
- if (!query.get_height(height, link) ||
- !query.set_block_valid(link))
+ if (!query.get_height(height, link))
+ return false;
+
+ if (query.get_block_state(link) == database::error::block_unconfirmable)
+ continue;
+
+ if (!query.set_block_valid(link))
return false;
notify_block(system::error::success, height, link, false);