Why did we use payable for array and to push into an array #5619
kaushikc44
started this conversation in
General
Replies: 1 comment 7 replies
-
@kaushikc44 payable addresses are different from regular addresses, this payable keyword tells solidity that these addresses will receive the ethers. |
Beta Was this translation helpful? Give feedback.
7 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Why are we using payable before address [] array and while trying to append into the array. How does it matter if we don't use payable either way until the user does not pay inside the array it can't be pushed right ?
Beta Was this translation helpful? Give feedback.
All reactions