[#1319] services/object_manager: Fix error message
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
057d53459b
commit
1219ff89d4
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ func payloadHashersForObject(obj *object.Object) []*payloadChecksumHasher {
|
|||
hasher: sha256.New(),
|
||||
checksumWriter: func(cs []byte) {
|
||||
if ln := len(cs); ln != sha256.Size {
|
||||
panic(fmt.Sprintf("wrong checksum length: expected %d, has %d", ln, sha256.Size))
|
||||
panic(fmt.Sprintf("wrong checksum length: expected %d, has %d", sha256.Size, ln))
|
||||
}
|
||||
|
||||
csSHA := [sha256.Size]byte{}
|
||||
|
|
Loading…
Reference in a new issue