Merge pull request #3979 from carlaKC/lnd-fixlinter

lnd: fix gosimple linter failure
This commit is contained in:
Joost Jager 2020-02-04 10:16:34 +01:00 committed by GitHub
commit da6b33f0b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
lnd.go

@ -241,7 +241,7 @@ func Main(lisCfg ListenerCfg) error {
} }
defer chanDB.Close() defer chanDB.Close()
openTime := time.Now().Sub(startOpenTime) openTime := time.Since(startOpenTime)
ltndLog.Infof("Database now open (time_to_open=%v)!", openTime) ltndLog.Infof("Database now open (time_to_open=%v)!", openTime)
// Only process macaroons if --no-macaroons isn't set. // Only process macaroons if --no-macaroons isn't set.