Skip to content

Commit

Permalink
more clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
dorin-iancu committed Feb 28, 2024
1 parent 07e93b8 commit 8720b69
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions multisig/tests/multisig_setup/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,17 +112,17 @@ where
})
.assert_ok();

for i in 0..2 {
for oracle in oracles.iter().take(2) {
b_mock
.execute_tx(&oracles[i], &price_agg_wrapper, &rust_biguint!(100), |sc| {
.execute_tx(oracle, &price_agg_wrapper, &rust_biguint!(100), |sc| {
sc.stake();
})
.assert_ok();
}

for i in 0..2 {
for oracle in oracles.iter().take(2) {
b_mock
.execute_tx(&oracles[i], &price_agg_wrapper, &rust_zero, |sc| {
.execute_tx(oracle, &price_agg_wrapper, &rust_zero, |sc| {
sc.submit(
managed_buffer!(GWEI_TOKEN_ID),
managed_buffer!(BRIDGE_TOKEN_ID),
Expand Down Expand Up @@ -317,8 +317,6 @@ where
)
.assert_ok();

// Do I need EGLD-ESDT swap?

Self {
b_mock,
owner_addr,
Expand Down

0 comments on commit 8720b69

Please sign in to comment.