Przeglądaj źródła

Change trust promo id filter to check

onyinyang 1 miesiąc temu
rodzic
commit
1bef5a9bc4
1 zmienionych plików z 1 dodań i 1 usunięć
  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| {
-                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
                 {
                     return Err(CMZError::RevealAttrMissing("id", "Credential Expired"));