Skip to content

Commit b58c0e7

Browse files
committed
fix lit for unsupported chain on manager
1 parent ec64d53 commit b58c0e7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/round-manager/src/features/round/ViewApplicationPage.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ import {
5858
formatDateWithOrdinal,
5959
getRoundStrategyType,
6060
getUTCTime,
61+
isLitUnavailable,
6162
useAllo,
6263
VerifiedCredentialState,
6364
} from "common";
@@ -333,7 +334,7 @@ export default function ViewApplicationPage() {
333334

334335
if (application?.answers && application.answers.length > 0) {
335336
for (let _answerBlock of application.answers) {
336-
if (_answerBlock.encryptedAnswer) {
337+
if (_answerBlock.encryptedAnswer && !isLitUnavailable(round.chainId!)) {
337338
try {
338339
const encryptedAnswer = _answerBlock.encryptedAnswer;
339340
const base64EncryptedString = [

0 commit comments

Comments
 (0)