mirror of
https://github.com/dpup/meshstream.git
synced 2026-08-08 01:32:52 +02:00
Remove RawEnvelope, RawPacket, and RawData from DecodedPacket struct
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -149,14 +149,8 @@ func TestDecodeMessageWithMapPayload(t *testing.T) {
|
||||
t.Errorf("Expected PortNum to be MAP_REPORT_APP, got %s", decodedPacket.PortNum)
|
||||
}
|
||||
|
||||
// Check that all key fields were populated
|
||||
if decodedPacket.RawEnvelope == nil {
|
||||
t.Error("Expected RawEnvelope to be populated")
|
||||
}
|
||||
|
||||
if decodedPacket.RawPacket == nil {
|
||||
t.Error("Expected RawPacket to be populated")
|
||||
}
|
||||
// These fields are no longer used
|
||||
// Only verify that key metadata was correctly extracted
|
||||
|
||||
// Verify that key metadata was correctly extracted
|
||||
if decodedPacket.From == 0 {
|
||||
|
||||
Reference in New Issue
Block a user