Court: Add checks to ensure dispute and round exist #62
Labels
1st audit freeze
component:contracts
Contracts related requirements
enhancement
New enhancement request
Milestone
In most functions we are doing:
Since this is a mapping, should we check that the dispute actually exists? (Downside being adding more code, of course)
The same for:
In a lot of them we are then doing too:
Which would fail because rounds length is zero, but it would be nice to have a proper error message.
The text was updated successfully, but these errors were encountered: