Skip to content

Commit

Permalink
fix-n-range
Browse files Browse the repository at this point in the history
  • Loading branch information
kaisbaccour committed Oct 19, 2022
1 parent de5d4f8 commit e4f1c8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/double-dice-roll/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,11 @@ pub fn execute_roll_dice_multiple_times(

let mut msgs = Vec::<WasmMsg>::new();

for job in 1..n_times {
for job in 0..n_times {
let msg = WasmMsg::Execute {
contract_addr: nois_proxy.to_owned().into(),
msg: to_binary(&ProxyExecuteMsg::GetNextRandomness {
job_id: job_id.to_owned() + "-" + &job.to_string(),
job_id: job_id.to_owned() + "-" + &(job + 10).to_string(),
})?,
funds: vec![],
};
Expand Down

0 comments on commit e4f1c8f

Please sign in to comment.