Skip to main content
4 events
when toggle format what by license comment
Oct 9, 2017 at 0:04 history edited pabloruiz55 CC BY-SA 3.0
added 195 characters in body
Oct 9, 2017 at 0:02 comment added pabloruiz55 You have to change the function's return type to uint8[] to fix that. Alternatively, you could initialize de fixed-size array like I just wrote in my updated answer.
Oct 8, 2017 at 23:45 comment added Fabiano Soriani My question is to init uint8[12], this solution errors to return: TypeError: Return argument type uint8[] memory is not implicitly convertible to expected type (type of first return variable) uint8[12] memory. return traits;
Oct 8, 2017 at 23:16 history answered pabloruiz55 CC BY-SA 3.0