diff --git a/src/app/dispute.rs b/src/app/dispute.rs index 24a48bcc..2bf5c457 100644 --- a/src/app/dispute.rs +++ b/src/app/dispute.rs @@ -77,12 +77,7 @@ pub async fn dispute_action( send_dm(client, my_keys, &initiator_pubkey, message).await?; // We create a Message for the counterpart - let message = Message::new_dispute( - Some(order.id), - None, - Action::DisputeInitiatedByPeer, - None, - ); + let message = Message::new_dispute(Some(order.id), None, Action::DisputeInitiatedByPeer, None); let message = message.as_json()?; let counterpart_pubkey = XOnlyPublicKey::from_bech32(counterpart)?; send_dm(client, my_keys, &counterpart_pubkey, message).await?; diff --git a/src/app/release.rs b/src/app/release.rs index b201c23f..2c753263 100644 --- a/src/app/release.rs +++ b/src/app/release.rs @@ -83,8 +83,12 @@ pub async fn release_action( order.id, msg.payment.payment_hash ); // Purchase completed message to buyer - let message = - Message::new_order(Some(order.id), None, Action::PurchaseCompleted, None); + let message = Message::new_order( + Some(order.id), + None, + Action::PurchaseCompleted, + None, + ); let message = message.as_json().unwrap(); send_dm(&client, &my_keys, &buyer_pubkey, message) .await