Skip to content

Commit

Permalink
fix:refactor return in LinkedDataProofValidation
Browse files Browse the repository at this point in the history
  • Loading branch information
mustafasalfiti committed Nov 30, 2023
1 parent 6cf8397 commit 935143d
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,7 @@ private Boolean validateVerificationMethodOfVC(Verifiable verifiable) {
final String issuer = vc.getIssuer().toString();
final String verficationMethod = getVerificationMethod(verifiable);
final String[] splitVerificationMethod = verficationMethod.split("#");
if (splitVerificationMethod[0].equals(issuer)) {
return true;
}
return false;
return splitVerificationMethod[0].equals(issuer);
}

/**
Expand Down

0 comments on commit 935143d

Please sign in to comment.