Skip to content

Commit

Permalink
Merge pull request #371 from ffranr/itest_fix_for_loop
Browse files Browse the repository at this point in the history
itest: fix for-loop indexing
  • Loading branch information
guggero authored Jun 20, 2023
2 parents 14f08d8 + 8af7655 commit 964f607
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit 964f607

Please sign in to comment.