Skip to content

Commit 7eb9dee

Browse files
committed
Show the version on server startup.
1 parent b4cbbb1 commit 7eb9dee

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

btcd.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ func btcdMain() error {
4040
loggers = setLogLevel(cfg.DebugLevel)
4141
}
4242

43+
// Show version at startup.
44+
log.Infof("Version %s", version())
45+
4346
// See if we want to enable profiling.
4447
if cfg.Profile != "" {
4548
go func() {

0 commit comments

Comments
 (0)