Skip to content

Commit

Permalink
Remove dead code.
Browse files Browse the repository at this point in the history
  • Loading branch information
evoskuil committed Mar 24, 2024
1 parent fd672c3 commit b5e5f78
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion include/bitcoin/node/protocols/protocol_block_in_31800.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ class BCN_API protocol_block_in_31800
const network::messages::block::cptr& message) NOEXCEPT;

private:
using map_ptr = map_ptr;
using type_id = network::messages::inventory::type_id;
static constexpr size_t minimum_for_stall_divide = 2;

Expand Down
3 changes: 1 addition & 2 deletions src/protocols/protocol_block_in_31800.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,7 @@ void protocol_block_in_31800::do_split(channel_t) NOEXCEPT
stop(error::sacrificed_channel);
}

protocol_block_in_31800::map_ptr protocol_block_in_31800::split(
const map_ptr& map) NOEXCEPT
map_ptr protocol_block_in_31800::split(const map_ptr& map) NOEXCEPT
{
// Merge half of map into new half.
const auto count = map->size();
Expand Down

0 comments on commit b5e5f78

Please sign in to comment.