Explorar el Código

Change trust promo id filter to check

onyinyang hace 1 mes
padre
commit
1bef5a9bc4
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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"));