mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-06-29 10:09:08 +02:00
channeldb/migtest: log migration failure instead of failing
This line was incorrectly moved when the migtest package was created for migration 12. This PR introduces a negative test for CreateTLB which surfaced this.
This commit is contained in:
@ -74,7 +74,7 @@ func ApplyMigration(t *testing.T,
|
||||
// Apply migration.
|
||||
err = kvdb.Update(cdb, migrationFunc)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
t.Logf("migration error: %v", err)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user