Timeline for How can I add an element to a mapping array (mapping[])?
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 14, 2018 at 3:10 | vote | accept | CreatedAMadman | ||
Jun 14, 2018 at 2:07 | comment | added | user19510 |
Yeah, I don't think you can use balances.push at all here, since the thing you'd have to push would be a new mapping (and there's no defined copy from memory to storage of a mapping ).
|
|
Jun 14, 2018 at 1:13 | comment | added | CreatedAMadman | How do I use "balances.push" in this case? I try pushing the address and amount, or just the address, but neither works. | |
Jun 13, 2018 at 23:49 | history | answered | user19510 | CC BY-SA 4.0 |