Show the version on server startup.
This commit is contained in:
parent
b4cbbb1f8b
commit
7eb9deee35
1 changed files with 3 additions and 0 deletions
3
btcd.go
3
btcd.go
|
@ -40,6 +40,9 @@ func btcdMain() error {
|
||||||
loggers = setLogLevel(cfg.DebugLevel)
|
loggers = setLogLevel(cfg.DebugLevel)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Show version at startup.
|
||||||
|
log.Infof("Version %s", version())
|
||||||
|
|
||||||
// See if we want to enable profiling.
|
// See if we want to enable profiling.
|
||||||
if cfg.Profile != "" {
|
if cfg.Profile != "" {
|
||||||
go func() {
|
go func() {
|
||||||
|
|
Loading…
Reference in a new issue