fix: Format cooperative redeem reject using thiserror

This commit is contained in:
binarybaron 2024-07-16 15:33:35 +02:00
parent 1f322b78c8
commit 85fb8d6f88

View File

@ -339,7 +339,7 @@ async fn next_state(
}
Ok(Rejected { reason, .. }) => {
tracing::error!(
?reason,
%reason,
"Alice rejected our request for cooperative XMR redeem"
);
return Err(reason)
@ -347,7 +347,7 @@ async fn next_state(
}
Err(error) => {
tracing::error!(
?error,
%error,
"Failed to request cooperative XMR redeem from Alice"
);
return Err(error)