diff --git a/src/keri.rs b/src/keri.rs index 6464482..8d26756 100644 --- a/src/keri.rs +++ b/src/keri.rs @@ -278,8 +278,8 @@ pub async fn issue( .find_state(identifier.id())? .witness_config .witnesses; - if let Some(witness) = witnesses.first() { - let _qry = query_mailbox(identifier, km.clone(), witness).await?; + for witness in witnesses { + let _qry = query_mailbox(identifier, km.clone(), &witness).await?; } identifier.notify_backers().await?; diff --git a/src/verify.rs b/src/verify.rs index fdd52d0..7b035e4 100644 --- a/src/verify.rs +++ b/src/verify.rs @@ -1,8 +1,7 @@ use std::{sync::Arc, thread::sleep, time::Duration}; use keri_controller::{ - communication::SendingError, error::ControllerError, identifier, IdentifierPrefix, Oobi, - TelState, + communication::SendingError, error::ControllerError, IdentifierPrefix, Oobi, TelState, }; use keri_core::{ event::sections::seal::EventSeal,