fix: missing return Encode
This commit is contained in:
parent
2ac5ff60be
commit
c5c4bbfb6e
|
@ -57,7 +57,8 @@ func (fr *FileReference) EncodeMsgpack(enc *msgpack.Encoder) error {
|
||||||
}
|
}
|
||||||
data[8] = historyData
|
data[8] = historyData
|
||||||
}
|
}
|
||||||
return nil
|
|
||||||
|
return enc.Encode(data)
|
||||||
}
|
}
|
||||||
func (fr *FileReference) DecodeMsgpack(dec *msgpack.Decoder) error {
|
func (fr *FileReference) DecodeMsgpack(dec *msgpack.Decoder) error {
|
||||||
mapLen, err := dec.DecodeMapLen()
|
mapLen, err := dec.DecodeMapLen()
|
||||||
|
|
Loading…
Reference in New Issue