Mapping value assigning problem #1789
daswanihimanshu010
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello all,
In tutorial video "04:24:38" in line 21 in fund function you have mentioned
addressToAmountFunded[msg.sender] = msg.value;
which seems correct but in "04:37:39" in line 17 in fund function that line has changed toaddressToAmountFunded[msg.sender] += msg.value;
Why did we do that ?
Beta Was this translation helpful? Give feedback.
All reactions