Fixes an assertion bug in trunk_replace_routing_filter. Previously we asserted that if we compacted down to an empty bundle then the filter must also be NULL. However, this is not necessarily the case. Changed the assertion to assert that if the compacted bundle and the filter are empty then the filter is NULL.
Simplifies the trunk_range_iterator struct by the removal of local_max_key. local_max_key is now a temporary variable in trunk_range_iterator_init.
This pull request does:
trunk_replace_routing_filter
. Previously we asserted that if we compacted down to an empty bundle then the filter must also be NULL. However, this is not necessarily the case. Changed the assertion to assert that if the compacted bundle and the filter are empty then the filter is NULL.trunk_range_iterator
struct by the removal oflocal_max_key
. local_max_key is now a temporary variable intrunk_range_iterator_init
.