From 6045d4e3f4de1f159015db8de977d47d222b2a76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francisco=20Calder=C3=B3n?= Date: Tue, 17 Dec 2024 15:41:54 -0300 Subject: [PATCH] Use right seller pubkey on take_buy command --- Cargo.lock | 4 ++-- src/app/take_buy.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7aa80c3b..2471597a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1991,9 +1991,9 @@ dependencies = [ [[package]] name = "mostro-core" -version = "0.6.16" +version = "0.6.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfa673ea01ea2e91bcfc8fa4c6557afb1f8c9795ee909ff1776ff686f6fb26b8" +checksum = "365f4109979a283c0f198befaa9a518edb346873ead95fca742fb7cc5eb65c81" dependencies = [ "anyhow", "bitcoin", diff --git a/src/app/take_buy.rs b/src/app/take_buy.rs index 8d46509e..f829c6e3 100644 --- a/src/app/take_buy.rs +++ b/src/app/take_buy.rs @@ -58,7 +58,7 @@ pub async fn take_buy_action( }; // We update the pubkey - let seller_pubkey = event.sender; + let seller_pubkey = event.rumor.pubkey; // Seller can take pending orders only match order_status { Status::Pending => {}