Skip to content

Commit

Permalink
Fix debug break, assertions missing namespace.
Browse files Browse the repository at this point in the history
  • Loading branch information
evoskuil committed May 10, 2024
1 parent 12debc7 commit cb5f1a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/chasers/chaser_check.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ void chaser_check::do_get_hashes(const map_handler& handler) NOEXCEPT
void chaser_check::do_put_hashes(const map_ptr& map,
const result_handler& handler) NOEXCEPT
{
BC_ASSERT(map->size() <= max_inventory);
BC_ASSERT(map->size() <= messages::max_inventory);
BC_ASSERT(stranded());

if (closed())
Expand Down Expand Up @@ -299,7 +299,7 @@ size_t chaser_check::get_unassociated() NOEXCEPT
if (map->empty())
break;

BC_ASSERT(map->size() <= max_inventory);
BC_ASSERT(map->size() <= messages::max_inventory);
maps_.push_back(map);
requested_ = map->top().height;
count += map->size();
Expand Down

0 comments on commit cb5f1a4

Please sign in to comment.