Skip to content

Commit

Permalink
fix clippy code
Browse files Browse the repository at this point in the history
  • Loading branch information
neitdung committed Jul 29, 2024
1 parent a3f8be5 commit 1ca9744
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/provider/vault/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -257,10 +257,10 @@ impl VaultContract<'_> {
let stake_msg = local_staking.contract.receive_stake(
ctx.info.sender.to_string(),
to_json_binary(&mesh_native_staking::msg::StakeMsg {
validator: validator.to_owned(),
validator,
})
.unwrap(),
vec![amount.clone()],
vec![amount],
)?;

resp = resp.add_message(stake_msg);
Expand Down

0 comments on commit 1ca9744

Please sign in to comment.