Lesson 3: Withdraw - "gas estimation failed" message #4628
-
Hi when I use the withdraw() function, I get a "Gas estimation failed" message: I'm a bit confused about how to rectify this? Code below // SPDX-License-Identifier: MIT import "./PriceConverter.sol"; contract FundMe{
modifier onlyOwner{ // if this function is called, its requirements must be met to implement function |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
try to change |
Beta Was this translation helpful? Give feedback.
try to change
funderIndex = funderIndex ++
tofunderIndex ++