Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
trinitys7 committed Sep 19, 2024
1 parent 9e07070 commit f51b2c6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions contracts/consumer/band-price-feed/src/contract.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
use cosmwasm_std::{
to_json_binary, Binary, Coin, DepsMut, Env, IbcChannel, IbcEndpoint, IbcMsg, IbcTimeout,
Response, Uint64,
to_json_binary, Binary, Coin, DepsMut, Env, IbcChannel, IbcMsg, IbcTimeout, Response, Uint64,
};
use cw2::set_contract_version;
use cw_storage_plus::Item;
Expand Down
6 changes: 2 additions & 4 deletions contracts/consumer/band-price-feed/src/ibc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ use cosmwasm_std::{
StdError, Uint128,
};
use cw_band::{OracleResponsePacketData, Output, ResolveStatus};
use mesh_apis::ibc::{
ack_fail, ack_success, validate_channel_order, PriceFeedAck, ProtocolVersion,
};
use mesh_apis::ibc::{ack_fail, ack_success, PriceFeedAck};
use obi::OBIDecode;

use crate::contract::RemotePriceFeedContract;
Expand Down Expand Up @@ -91,7 +89,7 @@ pub fn ibc_channel_connect(

// Version negotiation over, we can only store the channel
let contract = RemotePriceFeedContract::new();
contract.channel.save(deps.storage, &channel)?;
contract.channel.save(deps.storage, channel)?;

Ok(IbcBasicResponse::default())
}
Expand Down

0 comments on commit f51b2c6

Please sign in to comment.