Skip to content
This repository has been archived by the owner on Dec 29, 2023. It is now read-only.

Commit

Permalink
fix: warning
Browse files Browse the repository at this point in the history
  • Loading branch information
politeWall committed Nov 23, 2023
1 parent 40fe719 commit 802fd91
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/action/execute/create_margin_order.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use super::*;
use crate::msg::ReplyType;
use cosmwasm_std::{to_json_binary, Coin, Decimal, Int128, StdError, StdResult, Storage, SubMsg};
use cosmwasm_std::{Coin, Decimal, Int128, StdError, StdResult, Storage, SubMsg};

pub fn create_margin_order(
info: MessageInfo,
Expand Down
15 changes: 7 additions & 8 deletions src/tests/cancel_margin_order/succesful_cancel_an_order.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,13 @@ fn succesful_cancel_an_order() {
)
.unwrap();

let resp = app
.execute_contract(
Addr::unchecked("user"),
addr.clone(),
&ExecuteMsg::CancelMarginOrder { order_id: 0 },
&[],
)
.unwrap();
app.execute_contract(
Addr::unchecked("user"),
addr.clone(),
&ExecuteMsg::CancelMarginOrder { order_id: 0 },
&[],
)
.unwrap();

assert_eq!(
app.wrap()
Expand Down

0 comments on commit 802fd91

Please sign in to comment.