* refactor: on-demand getSharedSecret()

This commit is contained in:
Scott Powell committed 2025-12-06 19:17:45 +11:00
1 parent 7411c07a2b
commit 1e143e0274
3 files changed
+19 -26

No files matched your search

-1
View File
@@ -73,7 +73,6 @@ class BaseChatMesh : public mesh::Mesh {
mesh::Packet* composeMsgPacket(const ContactInfo& recipient, uint32_t timestamp, uint8_t attempt, const char *text, uint32_t& expected_ack);
void sendAckTo(const ContactInfo& dest, uint32_t ack_hash);
void ensureSharedSecretIsValid(const ContactInfo& contact);
protected:
BaseChatMesh(mesh::Radio& radio, mesh::MillisecondClock& ms, mesh::RNG& rng, mesh::RTCClock& rtc, mesh::PacketManager& mgr, mesh::MeshTables& tables)