Merge pull request #3979 from carlaKC/lnd-fixlinter
lnd: fix gosimple linter failure
This commit is contained in:
commit
da6b33f0b9
2
lnd.go
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.
|
||||||
|
Loading…
Reference in New Issue
Block a user