From 2975b61abd42ab91fc9fd345f74c8fcac5473bb1 Mon Sep 17 00:00:00 2001 From: Leonard Lyubich Date: Wed, 16 Sep 2020 15:13:08 +0300 Subject: [PATCH] [#30] core/object: Remove no longer used MarshalStableV2 method Signed-off-by: Leonard Lyubich --- pkg/core/object/object.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/pkg/core/object/object.go b/pkg/core/object/object.go index de272cc1..4f13fce8 100644 --- a/pkg/core/object/object.go +++ b/pkg/core/object/object.go @@ -15,15 +15,6 @@ type Object struct { *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. func (o *Object) Address() *object.Address { if o != nil {