We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Right now when the tokens you submitted are not enough to get enough gas, the contract doesn't throw an error and the tokens are lost.
This was supposed to be swapped for BTC, and it obviously failed, but it didn't revert:
https://explorer.zetachain.com/cc/tx/0xb77350a13c830ff251e22b95ac6fe473cd042ec96ff2146b7c92f7ce4a91891b
Instead, it should compare the output amount for gas with the needed gas and throw if it's less than what's needed.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Right now when the tokens you submitted are not enough to get enough gas, the contract doesn't throw an error and the tokens are lost.
This was supposed to be swapped for BTC, and it obviously failed, but it didn't revert:
https://explorer.zetachain.com/cc/tx/0xb77350a13c830ff251e22b95ac6fe473cd042ec96ff2146b7c92f7ce4a91891b
Instead, it should compare the output amount for gas with the needed gas and throw if it's less than what's needed.
The text was updated successfully, but these errors were encountered: