Skip to content

Commit

Permalink
feat: Signature issue fix #2543
Browse files Browse the repository at this point in the history
  • Loading branch information
bibash28 committed Mar 28, 2024
1 parent af40f92 commit 6674300
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -180,14 +180,20 @@ class CredentialDetailsCubit extends Cubit<CredentialDetailsState> {
jwt: item.jwt!,
);

if (isVerified != VerificationType.verified) {
if (isVerified == VerificationType.verified) {
emit(
state.copyWith(
credentialStatus: CredentialStatus.active,
status: AppStatus.idle,
),
);
} else {
emit(
state.copyWith(
credentialStatus: CredentialStatus.invalidSignature,
status: AppStatus.idle,
),
);
return;
}
} else if (item.isPolygonssuer) {
final mnemonic =
Expand Down

0 comments on commit 6674300

Please sign in to comment.