aligned_layer
aligned_layer copied to clipboard
fix: unhardcode ">0" values
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
> 0balance before sending task to PaymentService. - ServiceManager.sol checks batcher has
> 0funds to pay for batch response. - ServiceManager.sol checks batcher has
> 0funds when responding a task.