Skip to content

Commit a04db9e

Browse files
authored
Merge pull request #841 from evoskuil/master
Fix debug build regression, missing p2p namespace.
2 parents b19e5ac + 00d6cae commit a04db9e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/chasers/chaser_check.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ void chaser_check::do_put_hashes(const map_ptr& map,
433433
const result_handler& handler) NOEXCEPT
434434
{
435435
BC_ASSERT(stranded());
436-
BC_ASSERT(map->size() <= messages::max_inventory);
436+
BC_ASSERT(map->size() <= messages::p2p::max_inventory);
437437
if (closed() || purging())
438438
return;
439439

@@ -456,7 +456,7 @@ bool chaser_check::set_map(const map_ptr& map) NOEXCEPT
456456
{
457457
// Called from start.
458458
////BC_ASSERT(stranded());
459-
BC_ASSERT(map->size() <= messages::max_inventory);
459+
BC_ASSERT(map->size() <= messages::p2p::max_inventory);
460460
if (map->empty())
461461
return false;
462462

0 commit comments

Comments
 (0)