diff --git a/README.md b/README.md index cb1ffa5..f2a77b0 100644 --- a/README.md +++ b/README.md @@ -169,7 +169,7 @@ invocation.prf.forEach(delegation => { // Is the proof in the revocation store? store.lookup(delegation).then(revocation => { // Is the revocation issuer in this proof chain? - if (delegators.includes(revocation.iss)) { + if (delegators.includes(revocation.sub)) { throw new Error("Invalidated via revocation by delegation issuer") }