ApeWorX / ApePay

A smart contract payment system built for automated service management
https://apeworx.io/apepay
Apache License 2.0
18 stars 5 forks source link

Don't check for allowance if user already approved [SBK-380] #82

Open alexisnsns opened 7 months ago

alexisnsns commented 7 months ago

In the payment component, check if allowance has been set instead of reloading each time.

Right now, there is a 2-step validation process every time a user initiates a transaction. It doesn't need to be like that if the user has already set an allowance.