Skip to content

Commit

Permalink
Actually invoke extended armor
Browse files Browse the repository at this point in the history
  • Loading branch information
adamierymenko committed Sep 27, 2024
1 parent e53abe8 commit 74404f5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions node/Peer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -465,8 +465,7 @@ void Peer::sendHELLO(void* tPtr, const int64_t localSocket, const InetAddress& a
Metrics::pkt_hello_out++;

if (atAddress) {
// TODO: this is where extended armor should be invoked
outp.armor(_key, false, false, nullptr, _id);
outp.armor(_key, false, true, nullptr, _id);
RR->node->expectReplyTo(outp.packetId());
RR->node->putPacket(tPtr, RR->node->lowBandwidthModeEnabled() ? localSocket : -1, atAddress, outp.data(), outp.size());
}
Expand Down

0 comments on commit 74404f5

Please sign in to comment.