Skip to content

Commit

Permalink
fixed decryption
Browse files Browse the repository at this point in the history
  • Loading branch information
akorchyn committed Apr 8, 2024
1 parent 78684a4 commit b1ec434
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion relayer/src/api/controllers/decryption.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export const postDecryption = async () => {
});
});

if (await sendResultsToContract(Array.from(results.entries()))) {
if (!await sendResultsToContract(Array.from(results.entries()))) {
throw new Error("Error while submitting results to the contract");
}
}
Expand Down

0 comments on commit b1ec434

Please sign in to comment.