Skip to content

Commit ed0b12b

Browse files
Update rolling-shutter/medley/validatorregistry/validatorregistry.go
Co-authored-by: konradkonrad <[email protected]>
1 parent 45c3a7e commit ed0b12b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rolling-shutter/medley/validatorregistry/validatorregistry.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ func (m *AggregateRegistrationMessage) Marshal() []byte {
4444
}
4545

4646
func (m *AggregateRegistrationMessage) Unmarshal(b []byte) error {
47-
expectedLength := 1 + 8 + 20 + 8 + 8 + 1
47+
expectedLength := 1 + 8 + 20 + 8 + 4 + 4 + 1
4848
if len(b) != expectedLength {
4949
return fmt.Errorf("invalid registration message length %d, expected %d", len(b), expectedLength)
5050
}

0 commit comments

Comments
 (0)