aboutsummaryrefslogtreecommitdiffstats
path: root/peer.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-09-14 19:47:29 +0800
committerobscuren <geffobscura@gmail.com>2014-09-14 19:47:29 +0800
commit742a9b00bc1d587669f1b1bf78a27040e7d474a4 (patch)
treef7820fefd9041906747bd161325239a1efecee0c /peer.go
parent9e89dacc6439e915784c43eaa273307f24b40be9 (diff)
downloaddexon-742a9b00bc1d587669f1b1bf78a27040e7d474a4.tar
dexon-742a9b00bc1d587669f1b1bf78a27040e7d474a4.tar.gz
dexon-742a9b00bc1d587669f1b1bf78a27040e7d474a4.tar.bz2
dexon-742a9b00bc1d587669f1b1bf78a27040e7d474a4.tar.lz
dexon-742a9b00bc1d587669f1b1bf78a27040e7d474a4.tar.xz
dexon-742a9b00bc1d587669f1b1bf78a27040e7d474a4.tar.zst
dexon-742a9b00bc1d587669f1b1bf78a27040e7d474a4.zip
tmp
Diffstat (limited to 'peer.go')
-rw-r--r--peer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/peer.go b/peer.go
index 7178c4f38..ad76b8f37 100644
--- a/peer.go
+++ b/peer.go
@@ -666,7 +666,7 @@ func (self *Peer) handleStatus(msg *ethwire.Msg) {
func (p *Peer) pushHandshake() error {
pubkey := p.ethereum.KeyManager().PublicKey()
msg := ethwire.NewMessage(ethwire.MsgHandshakeTy, []interface{}{
- uint32(0), []byte(p.version), []string{"eth"}, uint32(p.port), pubkey[1:],
+ uint32(0), []byte(p.version), []string{"eth"}, uint32(30303) /*p.port*/, pubkey[1:],
})
p.QueueMessage(msg)