Log release and commit hash

This commit is contained in:
Pedro Pombeiro 2018-11-28 12:05:18 +01:00 committed by Pedro Pombeiro
parent 38bb4d8ef3
commit 055486f0ca
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ type StatusBackend struct {
// NewStatusBackend create a new NewStatusBackend instance
func NewStatusBackend() *StatusBackend {
defer log.Info("Status backend initialized")
defer log.Info("Status backend initialized", "version", params.Version, "commit", params.GitCommit)
statusNode := node.New()
accountManager := account.NewManager(statusNode)