Closed antho1404 closed 5 years ago
I find the source of the problem: it's the function to estimate the gas needed. As your account didn't allow the smart contract of the marketplace to spend token on its behalf, the transaction to buy will always failed...
let's force the maximum number of gas that these transactions can consume. We need to test the maximum amount of gas the contract will need for the allowance and the purchase and then we can double it to make sure that we will always have enough.
nice catch
I cannot purchase a service that doesn't belong to me. The service exists, the offer also exists. The address has sufficient funds