Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ash-burnt committed Nov 25, 2024
1 parent 02aab10 commit 0771046
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions contracts/account/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,13 @@ pub fn sudo(deps: DepsMut, env: Env, msg: AccountSudoMsg) -> ContractResult<Resp
cred_bytes,
simulate,
..
} => {
execute::before_tx(
deps.as_ref(),
&env,
&Binary::from(tx_bytes.as_slice()),
cred_bytes.as_ref(),
simulate,
)
}
} => execute::before_tx(
deps.as_ref(),
&env,
&Binary::from(tx_bytes.as_slice()),
cred_bytes.as_ref(),
simulate,
),
AccountSudoMsg::AfterTx { .. } => execute::after_tx(),
}
}
Expand Down

0 comments on commit 0771046

Please sign in to comment.