fix: use original data not the version with the message type stripped, so we don't need to shift the offset math in UnmarshalSignedRegistryEntry
This commit is contained in:
parent
56d5ab5e6b
commit
cab059e82a
|
@ -39,7 +39,7 @@ func (s *RegistryEntryRequest) EncodeMsgpack(enc *msgpack.Encoder) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *RegistryEntryRequest) DecodeMessage(dec *msgpack.Decoder, message IncomingMessageData) error {
|
func (s *RegistryEntryRequest) DecodeMessage(dec *msgpack.Decoder, message IncomingMessageData) error {
|
||||||
sre, err := UnmarshalSignedRegistryEntry(message.Data)
|
sre, err := UnmarshalSignedRegistryEntry(message.Original)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue