easy5 pts · first answer countssolidity
Sending ETH to a function
A user calls deposit() and sends 1 ETH with the call, but the transaction reverts. The function is declared function deposit() external { ... }. What is the most likely cause?
Discussion 0
Join free to post in the discussion.
Related questions
- storage, memory, calldataBlockchain Developer
- Why emit eventsBlockchain Developer
- What msg.sender isBlockchain Developer
- Wei and etherBlockchain Developer
- view vs pureBlockchain Developer
- receive vs fallbackBlockchain Developer
- Reading a missing mapping keyBlockchain Developer
- What revert undoesBlockchain Developer