Skip to content

Commit f2ffb6b

Browse files
committed
Comment, add fall-through fault to confirmation chaser.
1 parent ac640a4 commit f2ffb6b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/chasers/chaser_confirm.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@ void chaser_confirm::do_bump(height_t) NOEXCEPT
212212
return;
213213
}
214214

215+
// Confirmation query.
215216
if ((ec = query.block_confirmable(link)))
216217
{
217218
if (ec == database::error::integrity)
@@ -275,6 +276,7 @@ void chaser_confirm::do_bump(height_t) NOEXCEPT
275276
// database::error::unknown_state [shouldn't be here]
276277
// database::error::unassociated [shouldn't be here]
277278
// database::error::unvalidated [shouldn't be here]
279+
fault(error::confirm8);
278280
return;
279281
}
280282

0 commit comments

Comments
 (0)