Skip to content

Commit

Permalink
lint the code
Browse files Browse the repository at this point in the history
  • Loading branch information
neitdung committed Jul 29, 2024
1 parent 1ca9744 commit c22ff15
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions contracts/provider/vault/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -256,10 +256,7 @@ impl VaultContract<'_> {

let stake_msg = local_staking.contract.receive_stake(
ctx.info.sender.to_string(),
to_json_binary(&mesh_native_staking::msg::StakeMsg {
validator,
})
.unwrap(),
to_json_binary(&mesh_native_staking::msg::StakeMsg { validator }).unwrap(),
vec![amount],
)?;

Expand Down

0 comments on commit c22ff15

Please sign in to comment.