Skip to content

Commit ba1be30

Browse files
committed
chore: format rebased router changes
1 parent e8a44ee commit ba1be30

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/mesh/Router.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -821,8 +821,8 @@ DecodeState perhapsDecode(meshtastic_MeshPacket *p)
821821
ChannelIndex chIndex = 0;
822822
#if !(MESHTASTIC_EXCLUDE_PKI)
823823
meshtastic_NodeInfoLite *ourNode = nullptr;
824-
if (!owner.is_licensed && p->channel == 0 && isToUs(p) && p->to > 0 && !isBroadcast(p->to) && rawSize > MESHTASTIC_PKC_OVERHEAD &&
825-
(ourNode = nodeDB->getMeshNode(p->to)) != nullptr && ourNode->public_key.size > 0) {
824+
if (!owner.is_licensed && p->channel == 0 && isToUs(p) && p->to > 0 && !isBroadcast(p->to) &&
825+
rawSize > MESHTASTIC_PKC_OVERHEAD && (ourNode = nodeDB->getMeshNode(p->to)) != nullptr && ourNode->public_key.size > 0) {
826826
pkiAttempted = true;
827827
LOG_DEBUG("Attempt PKI decryption");
828828
// Resolve the sender's key only for actual PKI-decrypt candidates, not every encrypted channel

0 commit comments

Comments
 (0)