In resolveDispute
the state can be changed to Resolved
before doing any other thing. This allows for the nonReentrant modifier to be removed as no function can be reentered when the state is set to Resolved
. Given that the likelihood of resolveDispute
to revert on call multiple times is low, this change also makes sense at a gas level, given that it removes the nonReentrant modifier cost (small as it is).
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.