mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-25 23:42:23 +00:00
cli: fix error message formatting
This is not very useful: could not initialize blockchain: %!w([]interface {}=[0xc0018da2c0])
This commit is contained in:
parent
bd67fe5371
commit
0402a75d20
1 changed files with 1 additions and 1 deletions
|
@ -636,7 +636,7 @@ func initBlockChain(cfg config.Config, log *zap.Logger) (*core.Blockchain, stora
|
|||
errArgs = append(errArgs, closeErr)
|
||||
}
|
||||
|
||||
return nil, nil, cli.NewExitError(fmt.Errorf(errText, errArgs), 1)
|
||||
return nil, nil, cli.NewExitError(fmt.Errorf(errText, errArgs...), 1)
|
||||
}
|
||||
return chain, store, nil
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue