mirror of
https://github.com/Kpa-clawbot/meshcore-analyzer.git
synced 2026-04-05 06:45:53 +00:00
The #197 decryption fix added channelKeys parameter to decodePayload and DecodePacket, but the test call sites were malformed: - DecodePacket(hex, nil + stringExpr) → nil concatenated with string (type error) - decodePayload(type, make([]byte, N, nil)) → nil used as make capacity (type error) Fixed to: - DecodePacket(hex + stringExpr, nil) → string concat then nil channelKeys - decodePayload(type, make([]byte, N), nil) → proper 3-arg call Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>