fix: PROOF_EXTENSION already has file dot

This commit is contained in:
Derrick Hammer 2024-02-18 02:57:10 -05:00
parent 418cdf7836
commit b4f8a1979b
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -288,5 +288,5 @@ func (s StorageServiceDefault) DeleteObjectProof(ctx context.Context, protocol S
}
func (s StorageServiceDefault) getProofPath(protocol StorageProtocol, objectHash []byte) string {
return fmt.Sprintf("%s/%s.%s", protocol.Name(), protocol.EncodeFileName(objectHash), PROOF_EXTENSION)
return fmt.Sprintf("%s/%s%s", protocol.Name(), protocol.EncodeFileName(objectHash), PROOF_EXTENSION)
}