Skip to content

Commit

Permalink
fix: excluding 0
Browse files Browse the repository at this point in the history
  • Loading branch information
distractedm1nd committed Jan 17, 2024
1 parent 99d8e04 commit 3c5f082
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blob/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ func (s *Service) Submit(ctx context.Context, blobs []*Blob, gasPrice GasPrice)
log.Debugw("submitting blobs", "amount", len(blobs))

options := DefaultSubmitOptions()
if gasPrice > 0 {
if gasPrice >= 0 {
blobSizes := make([]uint32, len(blobs))
for i, blob := range blobs {
blobSizes[i] = uint32(len(blob.Data))
Expand Down

0 comments on commit 3c5f082

Please sign in to comment.