Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/dispute-readability' into disput…
Browse files Browse the repository at this point in the history
…e-readability
  • Loading branch information
arkanoider committed Nov 9, 2024
2 parents b0a9275 + e8d9aa6 commit 301475c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/dispute.rs
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ pub async fn dispute_action(
Ok(pk) => pk,
Err(e) => {
tracing::error!("Error parsing initiator pubkey: {:#?}", e);
return Ok(());
return Err(Error::msg("Failed to parse initiator public key"));
}
};

Expand All @@ -244,7 +244,7 @@ pub async fn dispute_action(
Ok(pk) => pk,
Err(e) => {
tracing::error!("Error parsing counterpart pubkey: {:#?}", e);
return Ok(());
return Err(Error::msg("Failed to parse counterpart public key"));
}
};
send_new_order_msg(
Expand Down

0 comments on commit 301475c

Please sign in to comment.