From b194cc29acf055f51960c670bfe93204d2431064 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 05d62b423a..d1fa42ee47 100644 --- a/pkg/core/object/replicate.go +++ b/pkg/core/object/replicate.go @@ -19,7 +19,7 @@ const ( sizeKey = "size" deletedKey = "deleted" lockedKey = "locked" - validUntilKey = "validuntil" + validUntilKey = "validUntil" ) // EncodeReplicationMetaInfo uses NEO's map (strict order) serialized format as a raw @@ -33,7 +33,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(cID cid.ID, oID oid.ID, pSize uint64,