-
After changing the DECIMALS and STARTING_PRICE back to 8 and 2+3zeros+8zeros (200000000000) and also fixing the rounding error by adding +1 to the return in FundMe.sol Patrick gets a print of 25000000000000000 where as I get a print of only 2500000 (+1). It is not throwing an error but not behaving like it's supposed to. Backchecked all value but did not find anything not matching the tutorial. Any ideas as to where the source for this issue may lay? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I have solved it myself by backchecking my contract code against the lessons code and adjusting the withdraw function. Then deleting the build>deployments>1337 folder therefore resetting the local chain. Then redeployed and interacted with it again. |
Beta Was this translation helpful? Give feedback.
I have solved it myself by backchecking my contract code against the lessons code and adjusting the withdraw function. Then deleting the build>deployments>1337 folder therefore resetting the local chain. Then redeployed and interacted with it again.