[#30] core/object: Remove no longer used MarshalStableV2 method

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2020-09-16 15:13:08 +03:00 committed by Alex Vanin
parent 87487cde00
commit 2975b61abd

View file

@ -15,15 +15,6 @@ type Object struct {
*object.Object *object.Object
} }
// MarshalStableV2 marshals Object to v2 binary format.
func (o *Object) MarshalStableV2() ([]byte, error) {
if o != nil {
return o.ToV2().StableMarshal(nil)
}
return nil, nil
}
// Address returns address of the object. // Address returns address of the object.
func (o *Object) Address() *object.Address { func (o *Object) Address() *object.Address {
if o != nil { if o != nil {