Skip to content

Commit

Permalink
Correct typo in isValidX509CertBundle compatibility fix (#5830)
Browse files Browse the repository at this point in the history
  • Loading branch information
achamayou authored Nov 13, 2023
1 parent 54e1a13 commit 9572727
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/constitutions/default/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ function checkX509CertBundle(value, field) {
let check_func = ccf.crypto.isValidX509CertBundle;
// Remove after upgrade to 4.x
if (check_func === undefined) {
check_func = ccf.isValidX509Cert;
check_func = ccf.isValidX509CertBundle;
}

if (!check_func(value)) {
Expand Down

0 comments on commit 9572727

Please sign in to comment.