Skip to content

Commit 6395ddd

Browse files
committed
fix duplicate write in TestScheduledTransactionsStoreAndRetrieve
1 parent fdeebba commit 6395ddd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

storage/store/scheduled_transactions_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ func runTest(t *testing.T, g *fixtures.GeneratorSuite, db storage.DB, store *Sch
3434
blockID := g.Identifiers().Fixture()
3535
txIDs := g.Identifiers().List(50)
3636
data := make(map[flow.Identifier]uint64, len(txIDs))
37-
for i, txID := range txIDs {
38-
data[txID] = uint64(i)
37+
for _, txID := range txIDs {
38+
data[txID] = g.Random().Uint64()
3939
}
4040

4141
// index data within a batch

0 commit comments

Comments
 (0)