Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
alyn509 committed Oct 2, 2023
1 parent 383a542 commit 2e4b403
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions contracts/multisig/tests/multisig_blackbox_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ fn test_change_quorum() {
SetStateStep::new().put_account(NEW_BOARD_MEMBER_ADDRESS_EXPR, Account::new().nonce(1)),
);

let action_id = state.propose_add_board_member(new_board_member_address.clone());
let action_id = state.propose_add_board_member(new_board_member_address);
state.sign(action_id);
state.perform(action_id);

Expand Down Expand Up @@ -455,7 +455,7 @@ fn test_transfer_execute_to_user() {
.world
.sc_call_get_result(ScCallStep::new().from(PROPOSER_ADDRESS_EXPR).call(
state.multisig_contract.propose_transfer_execute(
new_user_address.clone(),
new_user_address,
AMOUNT.parse::<u64>().unwrap(),
OptionalValue::<String>::None,
MultiValueVec::<Vec<u8>>::new(),
Expand Down Expand Up @@ -536,7 +536,7 @@ fn test_deploy_and_upgrade_from_source() {

let adder_call = state.adder_contract.add(5u64);

let action_id = state.propose_transfer_execute(new_adder_address.clone(), 0u64, adder_call);
let action_id = state.propose_transfer_execute(new_adder_address, 0u64, adder_call);
state.sign(action_id);
state.perform(action_id);

Expand Down Expand Up @@ -565,7 +565,7 @@ fn test_deploy_and_upgrade_from_source() {
let action_id = state.propose_sc_upgrade_from_source(
state.adder_address.clone(),
0u64,
factorial_address.clone(),
factorial_address,
CodeMetadata::all(),
MultiValueVec::new(),
);
Expand Down

0 comments on commit 2e4b403

Please sign in to comment.