In the has_claimed_slice
view function, the implementation performs a redundant double check using table::contains
.
The first if (!table::contains(...)) { return false }
already ensures that when the user is not in the table, false
is returned.
The final table::contains(&state.claimed_users, user)
is therefore redundant, since the value was just checked in the prior condition.
Likelihood:
No functional bug or security issue.
Impact:
Impact 1
Impact 2
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.