lnd: fix gosimple warnings
This commit is contained in:
1 parent
f5fd4138a0
commit
8fb54782e2
30 files changed
+73
-319
No files matched your search
+1
-5
@@ -437,11 +437,7 @@ func (d *DB) syncVersions(versions []version) error {
|
||||
}
|
||||
|
||||
meta.DbVersionNumber = latestVersion
|
||||
if err := putMeta(meta, tx); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
return nil
|
||||
return putMeta(meta, tx)
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user