Skip to content

Commit

Permalink
remove place limit response send message
Browse files Browse the repository at this point in the history
  • Loading branch information
AlpinYukseloglu committed Feb 18, 2024
1 parent 7ae8997 commit 809fb22
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions contracts/orderbook/src/order.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,6 @@ pub fn place_limit(
})?;

Ok(Response::new()
.add_message(BankMsg::Send {
to_address: env.contract.address.to_string(),
amount: vec![coin(quantity.u128(), expected_denom)],
})
.add_attribute("method", "placeLimit")
.add_attribute("owner", info.sender.to_string())
.add_attribute("book_id", book_id.to_string())
Expand Down

0 comments on commit 809fb22

Please sign in to comment.