Skip to content

Commit

Permalink
fix: fix publishing issuance event
Browse files Browse the repository at this point in the history
  • Loading branch information
edytapawlak committed Nov 29, 2024
1 parent e9ae4f0 commit d4d1a4d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/keri.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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?;
Expand Down
3 changes: 1 addition & 2 deletions src/verify.rs
Original file line number Diff line number Diff line change
@@ -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,
Expand Down

0 comments on commit d4d1a4d

Please sign in to comment.