We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cbd0e8d commit ee65c0cCopy full SHA for ee65c0c
smart-contracts/osmosis/contracts/cl-vault/tests/test-tube/admin.rs
@@ -65,7 +65,7 @@ fn admin_execute_auto_claim_works() {
65
)
66
.unwrap();
67
68
- for i in 0..10 {
+ for account in accounts.iter().take(10) {
69
let amount_base = Uint128::new(10000);
70
let amount_quote = Uint128::new(10000);
71
let mut deposit_coins = vec![];
@@ -81,11 +81,11 @@ fn admin_execute_auto_claim_works() {
81
&ExecuteMsg::AnyDeposit {
82
amount: amount_base,
83
asset: DENOM_BASE.to_string(),
84
- recipient: Some(accounts[i].address()),
+ recipient: Some(account.address()),
85
max_slippage: Decimal::bps(MAX_SLIPPAGE_HIGH),
86
},
87
&deposit_coins,
88
- &accounts[i],
+ account,
89
90
91
}
0 commit comments