Skip to content

Commit

Permalink
Use right seller pubkey on take_buy command
Browse files Browse the repository at this point in the history
  • Loading branch information
grunch committed Dec 17, 2024
1 parent 4d7df93 commit 6045d4e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/app/take_buy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 => {}
Expand Down

0 comments on commit 6045d4e

Please sign in to comment.