How would I initialize an array inside a struct + append values to it?

0
6
How would I initialize an array inside a struct + append values to it?



EDIT: I’m happy to say this question been resolved!

Hi everyone,

I've been trying to solve this problem all week and I haven't been able to crack it. This is an important part of my smart contract and I'm kinda stuck moving forward with development until I can get over this hurdle. Any help would be very much appreciated!

https://stackoverflow.com/questions/74164199/how-can-i-implement-an-array-in-a-struct-and-initialize-it

submitted by /u/Taking-Jester766
[comments]



Source link