mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-14 02:15:29 +02:00
multi: update linter, fix new issues
This commit is contained in:
@@ -281,13 +281,9 @@ func after(shouldFail bool, preMigDB,
|
||||
// If the migration fails, the sessions bucket should be
|
||||
// untouched.
|
||||
if shouldFail {
|
||||
if err := migtest.VerifyDB(
|
||||
return migtest.VerifyDB(
|
||||
tx, cSessionBkt, preMigDB,
|
||||
); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
return nil
|
||||
)
|
||||
}
|
||||
|
||||
return migtest.VerifyDB(tx, cSessionBkt, postMigDB)
|
||||
|
Reference in New Issue
Block a user