From 2deaaeef05027f6ed52f273c613cab52ecf764c0 Mon Sep 17 00:00:00 2001
From: Pavel Karpy <carpawell@nspcc.ru>
Date: Wed, 13 Apr 2022 12:21:01 +0300
Subject: [PATCH] [#170] object: Fix comments about checksums

Delete "must not be nil" where there are no pointers.

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
---
 object/object.go | 2 --
 1 file changed, 2 deletions(-)

diff --git a/object/object.go b/object/object.go
index e203302..05eb901 100644
--- a/object/object.go
+++ b/object/object.go
@@ -234,7 +234,6 @@ func (o *Object) PayloadChecksum() (checksum.Checksum, bool) {
 }
 
 // SetPayloadChecksum sets checksum of the object payload.
-// Checksum must not be nil.
 //
 // See also PayloadChecksum.
 func (o *Object) SetPayloadChecksum(v checksum.Checksum) {
@@ -265,7 +264,6 @@ func (o *Object) PayloadHomomorphicHash() (checksum.Checksum, bool) {
 }
 
 // SetPayloadHomomorphicHash sets homomorphic hash of the object payload.
-// Checksum must not be nil.
 //
 // See also PayloadHomomorphicHash.
 func (o *Object) SetPayloadHomomorphicHash(v checksum.Checksum) {