p9: fix registry.get ob1 bug

This commit is contained in:
Sevki
2020-07-21 22:42:18 +01:00
committed by sevki
parent e1a04f84e8
commit 033fe6d70a
+1 -1
View File
@@ -2506,7 +2506,7 @@ type msgFactory struct {
var msgRegistry registry
type registry struct {
factories [math.MaxUint8]msgFactory
factories [math.MaxUint8 + 1]msgFactory
// largestFixedSize is computed so that given some message size M, you can
// compute the maximum payload size (e.g. for Twrite, Rread) with