From b80a5dac5992316b322238625db18efec384cf88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bastian=20M=C3=BCller?= Date: Fri, 12 Apr 2024 15:37:55 -0700 Subject: [PATCH] don't pass nil for context --- .../migrations/filter_unreferenced_slabs_migration_test.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cmd/util/ledger/migrations/filter_unreferenced_slabs_migration_test.go b/cmd/util/ledger/migrations/filter_unreferenced_slabs_migration_test.go index f80b2fff1c5..0d681676e78 100644 --- a/cmd/util/ledger/migrations/filter_unreferenced_slabs_migration_test.go +++ b/cmd/util/ledger/migrations/filter_unreferenced_slabs_migration_test.go @@ -1,6 +1,7 @@ package migrations import ( + "context" "encoding/binary" "testing" @@ -122,7 +123,9 @@ func TestFilterUnreferencedSlabs(t *testing.T) { err = migration.InitMigration(log, nil, 0) require.NoError(t, err) - newPayloads, err := migration.MigrateAccount(nil, testAddress, oldPayloads) + ctx := context.Background() + + newPayloads, err := migration.MigrateAccount(ctx, testAddress, oldPayloads) require.NoError(t, err) // Assert