lnd: specify formatting directive in new error logging

This commit is contained in:
Olaoluwa Osuntokun 2017-05-02 20:03:13 -07:00
parent 4e7ddad258
commit 6acd177c33
No known key found for this signature in database
GPG Key ID: 9CC5B105D03521A2

2
lnd.go

@ -64,7 +64,7 @@ func lndMain() error {
// network related metadata. // network related metadata.
chanDB, err := channeldb.Open(cfg.DataDir) chanDB, err := channeldb.Open(cfg.DataDir)
if err != nil { if err != nil {
ltndLog.Errorf("unable to open channeldb: ", err) ltndLog.Errorf("unable to open channeldb: %v", err)
return err return err
} }
defer chanDB.Close() defer chanDB.Close()