From 579abbb16fe3f57d4c7ef5385303a78f10aa9974 Mon Sep 17 00:00:00 2001 From: arkanoider <113362043+arkanoider@users.noreply.github.com> Date: Fri, 8 Nov 2024 22:28:43 +0100 Subject: [PATCH] removed wrong request_id in messages (#388) --- src/app/admin_take_dispute.rs | 4 ++-- src/app/fiat_sent.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/admin_take_dispute.rs b/src/app/admin_take_dispute.rs index 7c5d26f..072b91f 100644 --- a/src/app/admin_take_dispute.rs +++ b/src/app/admin_take_dispute.rs @@ -119,14 +119,14 @@ pub async fn admin_take_dispute_action( // to them know who will assist them on the dispute let solver_pubkey = Peer::new(event.sender.to_hex()); let msg_to_buyer = Message::new_order( - request_id, + None, Some(order.id), Action::AdminTookDispute, Some(Content::Peer(solver_pubkey.clone())), ); let msg_to_seller = Message::new_order( - request_id, + None, Some(order.id), Action::AdminTookDispute, Some(Content::Peer(solver_pubkey)), diff --git a/src/app/fiat_sent.rs b/src/app/fiat_sent.rs index d223e7e..49e418b 100644 --- a/src/app/fiat_sent.rs +++ b/src/app/fiat_sent.rs @@ -66,7 +66,7 @@ pub async fn fiat_sent_action( // We a message to the seller send_new_order_msg( - request_id, + None, Some(order.id), Action::FiatSentOk, Some(Content::Peer(peer)),