Home > Back-end >  access array struct by index solidity
access array struct by index solidity

Time:01-24

I would access the struct array by index in the following require statement but i have the errorenter image description here

CodePudding user response:

in the require you are assigning non comparing, try using == instead of =

  •  Tags:  
  • Related