diff --git a/metadata/file_reference.go b/metadata/file_reference.go index 8b16c09..603cfc6 100644 --- a/metadata/file_reference.go +++ b/metadata/file_reference.go @@ -57,7 +57,8 @@ func (fr *FileReference) EncodeMsgpack(enc *msgpack.Encoder) error { } data[8] = historyData } - return nil + + return enc.Encode(data) } func (fr *FileReference) DecodeMsgpack(dec *msgpack.Decoder) error { mapLen, err := dec.DecodeMapLen()