routing: add additional validation to hop payload creation

This commit is contained in:
Carla Kirk-Cohen committed 2023-12-18 11:27:52 -05:00
1 parent 585f28c5f5
commit 7db072e020
2 files changed
+93 -7

No files matched your search

+1 -1
View File
@@ -170,7 +170,7 @@ func TestNoForwardingParams(t *testing.T) {
}
var b bytes.Buffer
err := hop.PackHopPayload(&b, 2, false)
err := hop.PackHopPayload(&b, 0, false)
require.NoError(t, err)
}