Skip to content

Commit f7bf2ab

Browse files
committed
Disable dead code.
1 parent 2df5fa6 commit f7bf2ab

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/protocols/protocol_explore.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1042,8 +1042,8 @@ void protocol_explore::do_get_address_confirmed(uint8_t media, bool turbo,
10421042
// ----------------------------------------------------------------------------
10431043

10441044
bool protocol_explore::handle_get_address_unconfirmed(const code& ec,
1045-
interface::address_unconfirmed, uint8_t, uint8_t media,
1046-
const hash_cptr& hash, bool turbo) NOEXCEPT
1045+
interface::address_unconfirmed, uint8_t, uint8_t,
1046+
const hash_cptr&, bool) NOEXCEPT
10471047
{
10481048
if (stopped(ec))
10491049
return false;
@@ -1052,9 +1052,9 @@ bool protocol_explore::handle_get_address_unconfirmed(const code& ec,
10521052
send_not_implemented();
10531053
return true;
10541054

1055-
address_handler complete = BIND(complete_get_address, _1, _2, _3);
1056-
PARALLEL(do_get_address_unconfirmed, media, turbo, hash, std::move(complete));
1057-
return true;
1055+
////address_handler complete = BIND(complete_get_address, _1, _2, _3);
1056+
////PARALLEL(do_get_address_unconfirmed, media, turbo, hash, std::move(complete));
1057+
////return true;
10581058
}
10591059

10601060
void protocol_explore::do_get_address_unconfirmed(uint8_t media, bool,

0 commit comments

Comments
 (0)