Make user agent use the app version constants.
This commit is contained in:
parent
eab9c1f0c1
commit
48d3c5f585
1 changed files with 1 additions and 1 deletions
2
btcd.go
2
btcd.go
|
@ -19,7 +19,7 @@ import (
|
||||||
"time"
|
"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
|
// used by the dns seed code to pick a random last seen time
|
||||||
const (
|
const (
|
||||||
|
|
Loading…
Reference in a new issue