Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
sesi200 committed Jan 24, 2024
1 parent 2a42de8 commit 86320c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dfx/src/lib/operations/canister/create_canister.rs
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ async fn create_with_wallet(
MAINNET_CYCLE_MINTER_CANISTER_ID,
CMC_CREATE_CANISTER_METHOD,
Argument::from_candid((CmcCreateCanisterArgs {
settings: Some(CanisterSettings::try_from(settings)?),
settings: Some(CanisterSettings::from(settings)),
subnet_selection: Some(subnet_selection),
},)),
cycles,
Expand Down

0 comments on commit 86320c5

Please sign in to comment.