Skip to content

Commit d07f673

Browse files
committed
set to read only in commit v2
1 parent 501db0f commit d07f673

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/go/0chain.net/blobbercore/handler/object_operation_handler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -912,7 +912,7 @@ func (fsh *StorageHandler) CommitWriteV2(ctx context.Context, r *http.Request) (
912912
return nil, common.NewError("blacklisted_client", "Client is blacklisted: "+clientID)
913913
}
914914

915-
allocationObj, err := fsh.verifyAllocation(ctx, allocationId, allocationTx, false)
915+
allocationObj, err := fsh.verifyAllocation(ctx, allocationId, allocationTx, true)
916916
if err != nil {
917917
return nil, common.NewError("invalid_parameters", "Invalid allocation id passed."+err.Error())
918918
}

0 commit comments

Comments
 (0)