mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-06-15 18:46:39 +00:00
Make user agent use the app version constants.
This commit is contained in:
parent
eab9c1f0c1
commit
48d3c5f585
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…
x
Reference in New Issue
Block a user