From 48d3c5f5851a13c72f5a82753f1dd7f4d172e161 Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Thu, 8 Aug 2013 09:12:40 -0500 Subject: [PATCH] Make user agent use the app version constants. --- btcd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/btcd.go b/btcd.go index 7cd814dd..db698850 100644 --- a/btcd.go +++ b/btcd.go @@ -19,7 +19,7 @@ import ( "time" ) -const userAgent = "/btcd:0.0.1/" +var userAgent = fmt.Sprintf("/btcd:%d.%d.%d/", appMajor, appMinor, appPatch) // used by the dns seed code to pick a random last seen time const (