Skip to content

Commit

Permalink
Fix unused var warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
evoskuil committed Feb 16, 2024
1 parent 56b77c1 commit 93587e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sessions/session_outbound.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ void session_outbound::attach_protocols(
network::session_outbound::attach_protocols(channel);

auto& self = *this;
constexpr auto performance = true;
const auto version = channel->negotiated_version();

if (version >= network::messages::level::bip130)
Expand All @@ -113,6 +112,7 @@ void session_outbound::attach_protocols(
channel->attach<protocol_header_out_31800>(self)->start();
}

////constexpr auto performance = true;
////channel->attach<protocol_block_in>(self, performance)->start();
////channel->attach<protocol_block_out>(self)->start();
////channel->attach<protocol_transaction_in>(self)->start();
Expand Down

0 comments on commit 93587e6

Please sign in to comment.