lnd: use Infof to format errors on channeldb open

This commit is contained in:
Conner Fromknecht 2020-05-27 22:42:46 -07:00
parent 66652ec4bc
commit 5e09a5287a
No known key found for this signature in database
GPG Key ID: E7D737B67FA592C7

2
lnd.go
View File

@ -270,7 +270,7 @@ func Main(cfg *Config, lisCfg ListenerCfg, shutdownChan <-chan struct{}) error {
)
switch {
case err == channeldb.ErrDryRunMigrationOK:
ltndLog.Info("%v, exiting", err)
ltndLog.Infof("%v, exiting", err)
return nil
case err != nil: