The KittyConnect::CatInfo.idx
is been set to the length of the array instead of length - 1
.
Since arrays is Solidity are 0-indexed, the last index of an array is length - 1
. Assigning the length of the array to idx
field can potentially cause errors when transferring or bridging tokens.
This can potentially prevent transferring or bridging tokens.
Manual review.
Assign length - 1
to the idx
field.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.