Print version string at startup.
This makes btcwallet match btcd's behavior. Initially pointed out in: decred/dcrwallet#125
This commit is contained in:
parent
5d6392b65d
commit
b1500ba02b
1 changed files with 3 additions and 0 deletions
|
@ -47,6 +47,9 @@ func walletMain() error {
|
|||
cfg = tcfg
|
||||
defer backendLog.Flush()
|
||||
|
||||
// Show version at startup.
|
||||
log.Infof("Version %s", version())
|
||||
|
||||
if cfg.Profile != "" {
|
||||
go func() {
|
||||
listenAddr := net.JoinHostPort("", cfg.Profile)
|
||||
|
|
Loading…
Add table
Reference in a new issue