😢
hello president, welcome to solidity. You cannot push an index into an array
ok, but what can i do?
your syntax is strange, why you do users[msg.sender] = User({ you can do like User storage user = users[msg.sender]; user.OwnerAddress = msg.sender; user.Name = UserName; user.OwnedProducts = [0];
Обсуждают сегодня