Browse Source

Change trust promo id filter to check

onyinyang 1 month ago
parent
commit
1bef5a9bc4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/proto/trust_promotion.rs

+ 1 - 1
src/proto/trust_promotion.rs

@@ -147,7 +147,7 @@ impl BridgeAuth {
                 })
                 })
             },
             },
             |L: &Lox, _M: &MigrationKey| {
             |L: &Lox, _M: &MigrationKey| {
-                if self.id_filter.filter(&L.id.unwrap()) == SeenType::Seen
+                if self.id_filter.check(&L.id.unwrap()) == SeenType::Seen
                     || self.trust_promotion_filter.filter(&L.id.unwrap()) == SeenType::Seen
                     || self.trust_promotion_filter.filter(&L.id.unwrap()) == SeenType::Seen
                 {
                 {
                     return Err(CMZError::RevealAttrMissing("id", "Credential Expired"));
                     return Err(CMZError::RevealAttrMissing("id", "Credential Expired"));