Skip to content

Commit

Permalink
Update src/app/dispute.rs
Browse files Browse the repository at this point in the history
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
arkanoider and coderabbitai[bot] authored Nov 11, 2024
1 parent d1529c2 commit 937334a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/app/dispute.rs
Original file line number Diff line number Diff line change
Expand Up @@ -259,9 +259,8 @@ pub async fn dispute_action(
.await;

// Publish dispute event to network
if let Err(e) = publish_dispute_event(&dispute, my_keys).await {
tracing::error!("Failed to publish dispute event: {}", e);
}
publish_dispute_event(&dispute, my_keys).await?;
Ok(())

Ok(())
}

0 comments on commit 937334a

Please sign in to comment.