Skip to content

Commit

Permalink
Style.
Browse files Browse the repository at this point in the history
  • Loading branch information
evoskuil committed Jun 27, 2024
1 parent 325f4b9 commit d6149b9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/chasers/chaser_confirm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -331,11 +331,10 @@ void chaser_confirm::do_organize(size_t height) NOEXCEPT
return;
}

if (ec == database::error::block_confirmable || checked)
if (checked || ec == database::error::block_confirmable)
{
// TODO: compute fees from validation records.
if ((ec != database::error::block_confirmable) &&
!query.set_block_confirmable(link, uint64_t{}))
if (checked && !query.set_block_confirmable(link, uint64_t{}))
{
fault(error::set_block_confirmable);
return;
Expand Down

0 comments on commit d6149b9

Please sign in to comment.