diff --git a/ledger/ledger_test.go b/ledger/ledger_test.go index 8a855ceadd..0e3b066b80 100644 --- a/ledger/ledger_test.go +++ b/ledger/ledger_test.go @@ -2231,11 +2231,7 @@ func TestLedgerReloadTxTailHistoryAccess(t *testing.T) { return err0 } - if err0 := tx.Testing().AccountsUpdateSchemaTest(ctx); err != nil { - return err0 - } - - return nil + return tx.Testing().AccountsUpdateSchemaTest(ctx) }) require.NoError(t, err)