File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -107,13 +107,14 @@ func TestV2DisperseBlob(t *testing.T) {
107
107
assert .Greater (t , blobMetadata .RequestedAt , uint64 (now .UnixNano ()))
108
108
assert .Equal (t , blobMetadata .RequestedAt , blobMetadata .UpdatedAt )
109
109
110
- // Try dispersing the same blob
110
+ // Try dispersing the same blob; if payment is different, blob will be considered as a differernt blob
111
+ // payment will cause failure before commitment check
111
112
reply , err = c .DispersalServerV2 .DisperseBlob (ctx , & pbv2.DisperseBlobRequest {
112
113
Data : data ,
113
114
BlobHeader : blobHeaderProto ,
114
115
})
115
116
assert .Nil (t , reply )
116
- assert .ErrorContains (t , err , "blob already exists" )
117
+ assert .ErrorContains (t , err , "payment already exists" )
117
118
}
118
119
119
120
func TestV2DisperseBlobRequestValidation (t * testing.T ) {
You can’t perform that action at this time.
0 commit comments