fix for %v instead of %w
This commit is contained in:
parent
8705f87504
commit
ac8a9610b9
3 changed files with 5 additions and 5 deletions
|
|
@ -64,7 +64,7 @@ func newTendermint(app abci.Application, config *cfg.Config, laddrReturner chan
|
|||
func GetNodeInfo(config *cfg.Config, dbPath string) (p2p.NodeInfo, error) {
|
||||
db, err := openBadger(dbPath)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("failed to open badger db to get node info", err)
|
||||
return nil, fmt.Errorf("failed to open badger db to get node info %v", err)
|
||||
}
|
||||
defer db.Close()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue