We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36a2455 commit 8b6e1f9Copy full SHA for 8b6e1f9
web/src/pages/Cases/CaseDetails/Voting/Classic/Reveal.tsx
@@ -149,6 +149,11 @@ const getSaltAndChoice = async (
149
if (isUndefined(rawSalt)) return;
150
const salt = keccak256(rawSalt);
151
152
+ // when dispute is invalid, just add RFA to the answers array
153
+ if (answers.length === 0) {
154
+ answers.unshift({ id: "0x0", title: "Refuse To Arbitrate", description: "Refuse To Arbitrate" });
155
+ }
156
+
157
const { choice } = answers.reduce<{ found: boolean; choice: bigint }>(
158
(acc, answer) => {
159
if (acc.found) return acc;
0 commit comments