multi: use sqldb.NoOpReset helper
Define a re-usable "reset" function, sqldb.NoOpReset, that can be used for the reset parameter in sql ExecTx calls.
This commit is contained in:
5 files changed
+19
-15
No files matched your search
@@ -76,7 +76,7 @@ func TestMigrationWithChannelDB(t *testing.T) {
|
||||
ctxb, kvStore.Backend, kvStore, tx,
|
||||
batchSize,
|
||||
)
|
||||
}, func() {},
|
||||
}, sqldb.NoOpReset,
|
||||
)
|
||||
require.NoError(t, err)
|
||||
|
||||
|
||||
Reference in new issue
Block a user