Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

itest: fix for-loop indexing #371

Merged
merged 1 commit into from
Jun 20, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions itest/send_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,8 @@ func testResumePendingPackageSend(t *harnessTest) {
// We will now start two asset send events in sequence. We will stop and
// restart the sending node during each send. During one sending event
// we will mine whilst the sending node is stopped. During the other
// sending event we will only mine once the sending node is restarted.
for i := range []int{0, 1} {
// sending event we will only mine once the sending node has restarted.
for i := 0; i < 2; i++ {
mineWhileNodeDown := i == 0

// Start the asset send procedure.
Expand Down