Skip to content

Commit

Permalink
Fix argument order in the Python binding of CapsuleFrag.verify
Browse files Browse the repository at this point in the history
  • Loading branch information
fjarri committed Mar 27, 2021
1 parent c8687fd commit 111f903
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions umbral-pre-python/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -237,16 +237,16 @@ impl CapsuleFrag {
pub fn verify(
&self,
capsule: &Capsule,
signing_pk: &PublicKey,
delegating_pk: &PublicKey,
receiving_pk: &PublicKey,
signing_pk: &PublicKey,
metadata: Option<&[u8]>,
) -> bool {
self.backend.verify(
&capsule.backend,
&signing_pk.backend,
&delegating_pk.backend,
&receiving_pk.backend,
&signing_pk.backend,
metadata,
)
}
Expand Down

0 comments on commit 111f903

Please sign in to comment.