From 82123eb6779d743a9ac3a4c93e4adbd6f363d222 Mon Sep 17 00:00:00 2001 From: Pavel Zbitskiy Date: Thu, 3 Aug 2023 11:07:44 -0400 Subject: [PATCH] tests: fix e2e TestAssetValidRounds after libgoal adjustment --- test/e2e-go/features/transactions/asset_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e-go/features/transactions/asset_test.go b/test/e2e-go/features/transactions/asset_test.go index d53c352126..2b38e7d515 100644 --- a/test/e2e-go/features/transactions/asset_test.go +++ b/test/e2e-go/features/transactions/asset_test.go @@ -163,7 +163,7 @@ func TestAssetValidRounds(t *testing.T) { // ledger may advance between SuggestedParams and FillUnsignedTxTemplate calls // expect validity sequence var firstValidRange, lastValidRange []uint64 - for i := lastRoundBefore + 1; i <= lastRoundAfter+1; i++ { + for i := lastRoundBefore; i <= lastRoundAfter+1; i++ { firstValidRange = append(firstValidRange, i) lastValidRange = append(lastValidRange, i+cparams.MaxTxnLife) }