mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-29 14:10:53 +00:00
Don't stash messages without a matching chain root
This commit is contained in:
@@ -249,7 +249,10 @@ ProcessMessage StoreForwardPlusPlusModule::handleReceived(const meshtastic_MeshP
|
||||
|
||||
if (!portduino_config.sfpp_stratum0) {
|
||||
if (!isInDB(lo.message_hash, lo.message_hash_len)) {
|
||||
// todo check for valid root hash
|
||||
if (lo.root_hash_len == 0) {
|
||||
LOG_WARN("Received message, but no known chain");
|
||||
return ProcessMessage::CONTINUE;
|
||||
}
|
||||
addToScratch(lo);
|
||||
LOG_WARN("added message to scratch");
|
||||
// send link to upstream?
|
||||
|
||||
Reference in New Issue
Block a user