From 3a07bdd76b7a8f4f42821bfb286ec68bc3174aa0 Mon Sep 17 00:00:00 2001 From: Pavel Karpy Date: Tue, 24 Dec 2024 00:51:23 +0300 Subject: [PATCH] core/object/replicate: make `validuntil` camel-cased Not sure what made me go this way, there is no reason for it. Signed-off-by: Pavel Karpy --- pkg/core/object/replicate.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/core/object/replicate.go b/pkg/core/object/replicate.go index db4c72f3e6..a6c9f3a4d7 100644 --- a/pkg/core/object/replicate.go +++ b/pkg/core/object/replicate.go @@ -20,7 +20,7 @@ const ( sizeKey = "size" deletedKey = "deleted" lockedKey = "locked" - validUntilKey = "validuntil" + validUntilKey = "validUntil" ) // EncodeReplicationMetaInfo uses NEO's map (strict order) serialized format as a raw @@ -35,7 +35,7 @@ const ( // "size": payload size // "deleted": array of _raw_ object IDs // "locked": array of _raw_ object IDs -// "validuntil": last valid block number for meta information +// "validUntil": last valid block number for meta information // // Last valid epoch is object's creation epoch + 10. func EncodeReplicationMetaInfo(o object.Object, vub uint64, magicNumber uint32) ([]byte, error) {