Merge pull request #3979 from carlaKC/lnd-fixlinter

lnd: fix gosimple linter failure
This commit is contained in:
Joost Jager authored and GitHub committed 2020-02-04 10:16:34 +01:00
commit da6b33f0b9
1 file changed
+1 -1
+1 -1
View File
@@ -241,7 +241,7 @@ func Main(lisCfg ListenerCfg) error {
}
defer chanDB.Close()
openTime := time.Now().Sub(startOpenTime)
openTime := time.Since(startOpenTime)
ltndLog.Infof("Database now open (time_to_open=%v)!", openTime)
// Only process macaroons if --no-macaroons isn't set.