aboutsummaryrefslogtreecommitdiffstats
path: root/peer.go
diff options
context:
space:
mode:
authorMaran <maran.hidskes@gmail.com>2014-03-24 17:24:39 +0800
committerMaran <maran.hidskes@gmail.com>2014-03-24 17:24:39 +0800
commit97786d03d57e1ca79e34ce5fd9aa172c61c3e665 (patch)
tree251a5e54305e5cedf568f2fb73dbff9302df4185 /peer.go
parent274d5cc91c45349ec8d7a1f5a20ef29896b38b2e (diff)
parent6a86c517c4f4b372cad0ae1d92e926a482eac5ba (diff)
downloaddexon-97786d03d57e1ca79e34ce5fd9aa172c61c3e665.tar
dexon-97786d03d57e1ca79e34ce5fd9aa172c61c3e665.tar.gz
dexon-97786d03d57e1ca79e34ce5fd9aa172c61c3e665.tar.bz2
dexon-97786d03d57e1ca79e34ce5fd9aa172c61c3e665.tar.lz
dexon-97786d03d57e1ca79e34ce5fd9aa172c61c3e665.tar.xz
dexon-97786d03d57e1ca79e34ce5fd9aa172c61c3e665.tar.zst
dexon-97786d03d57e1ca79e34ce5fd9aa172c61c3e665.zip
Merge branch 'master' into miner
Diffstat (limited to 'peer.go')
-rw-r--r--peer.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/peer.go b/peer.go
index 22bbe7a4c..b8e75c686 100644
--- a/peer.go
+++ b/peer.go
@@ -7,7 +7,6 @@ import (
"github.com/ethereum/eth-go/ethutil"
"github.com/ethereum/eth-go/ethwire"
"net"
- "runtime"
"strconv"
"strings"
"sync/atomic"
@@ -160,7 +159,7 @@ func NewOutboundPeer(addr string, ethereum *Ethereum, caps Caps) *Peer {
connected: 0,
disconnect: 0,
caps: caps,
- Version: fmt.Sprintf("/Ethereum(G) v%s/%s", ethutil.Config.Ver, runtime.GOOS),
+ Version: ethutil.Config.ClientString,
}
// Set up the connection in another goroutine so we don't block the main thread