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

2
lnd.go
View File

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