lnd: use Infof to format errors on channeldb open

This commit is contained in:
Conner Fromknecht committed 2020-05-27 22:42:46 -07:00
1 parent 66652ec4bc
commit 5e09a5287a
1 file changed
+1 -1
+1 -1
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: