[#109] Add version to logs in start

Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
This commit is contained in:
Angira Kekteeva 2021-11-29 13:35:41 +03:00 committed by Alex Vanin
parent 89e03f1280
commit 06be798111

2
app.go
View file

@ -179,7 +179,7 @@ func getKeyFromWallet(w *wallet.Wallet, addrStr string, password *string) (*ecds
}
func (a *app) Wait() {
a.log.Info("starting application")
a.log.Info("starting application", zap.String("version", a.cfg.GetString(cfgApplicationVersion)))
<-a.webDone // wait for web-server to be stopped
}