Skip to content

Commit

Permalink
fix clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
sotnikov-s committed Nov 8, 2024
1 parent 41b7d98 commit ee6e04e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ pub fn register_account_query(
query_type: QueryType::KV.into(),
keys: vec![KvKey {
path: AUTH_STORE_KEY.to_string(),
key: key,
key,
}],
transactions_filter: String::default(),
connection_id,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ pub fn register_balances_query(
Ok(Response::new().add_submessage(SubMsg {
id: REGISTER_BALANCES_ICQ_REPLY_ID,
payload: to_json_binary(&addr)?,
msg: msg,
msg,
gas_limit: None,
reply_on: ReplyOn::Success,
}))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ pub fn sudo_tx_query_result(
continue;
}

#[allow(clippy::unwrap_used)]
let undelegation_amount = undelegate_msg.amount.unwrap();
new_undelegations.push(Coin {
denom: undelegation_amount.denom,
Expand Down

0 comments on commit ee6e04e

Please sign in to comment.