-
Beta Was this translation helpful? Give feedback.
Answered by
ghost
May 11, 2023
Replies: 1 comment 1 reply
-
Hello @ngert You are just passing not enough ETH. Remember it is converting given ETH into USD and then compares it to 50$ min requirement calculated based on current ETH price. Try passing like 0.15 ETH, so 150000000000000000 Wei. Also make sure you have enough ETH on your Sepolia MetaMask account. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you for your response. I realised that the issue had come from how I had done the conversion for the minimum USD variable. When I fixed that, it worked.