aligned_layer icon indicating copy to clipboard operation
aligned_layer copied to clipboard

fix: unhardcode ">0" values

Open uri-99 opened this issue 1 year ago • 0 comments

Throughout the code there are some cases where we check user's balance is >0 instead of the appropriate values.

For example:

  • Batcher checks user has > 0 balance before sending task to PaymentService.
  • ServiceManager.sol checks batcher has > 0 funds to pay for batch response.
  • ServiceManager.sol checks batcher has > 0 funds when responding a task.

uri-99 avatar Jun 28 '24 17:06 uri-99