Show the version on server startup.

This commit is contained in:
Dave Collins 2013-10-15 15:54:00 -05:00
parent b4cbbb1f8b
commit 7eb9deee35

View file

@ -40,6 +40,9 @@ func btcdMain() error {
loggers = setLogLevel(cfg.DebugLevel)
}
// Show version at startup.
log.Infof("Version %s", version())
// See if we want to enable profiling.
if cfg.Profile != "" {
go func() {