From 111f90358348943cda92316669a5e9a8187ecf64 Mon Sep 17 00:00:00 2001 From: Bogdan Opanchuk Date: Fri, 26 Mar 2021 21:06:46 -0700 Subject: [PATCH] Fix argument order in the Python binding of `CapsuleFrag.verify` --- umbral-pre-python/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/umbral-pre-python/src/lib.rs b/umbral-pre-python/src/lib.rs index 4cc91987..7d9d9989 100644 --- a/umbral-pre-python/src/lib.rs +++ b/umbral-pre-python/src/lib.rs @@ -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, ) }