handle not found peer on posture vali

This commit is contained in:
pascal
2026-08-04 20:34:30 +02:00
parent 0456b64ea1
commit ce55b8406b

View File

@@ -484,6 +484,9 @@ func (nmd *NetworkMapData) getPostureValidPeersSaveFailed(inputPeers []string, p
dest = append(dest, peerID)
continue
}
if pname == "" {
continue
}
if _, ok := (*postureFailedPeers)[pname]; !ok {
(*postureFailedPeers)[pname] = make(map[string]struct{})
}