aboutsummaryrefslogtreecommitdiffstats
path: root/peer.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-09-15 07:11:01 +0800
committerobscuren <geffobscura@gmail.com>2014-09-15 07:11:01 +0800
commit2f614900e82036e3e8f6f6a714efc43e09aca830 (patch)
tree6a9ad17e8f7f7f91c036d2fec2354d08a0025a6e /peer.go
parent4db4ec1621767513ed2bd99d835c3e2f1c2b0e7e (diff)
downloadgo-tangerine-2f614900e82036e3e8f6f6a714efc43e09aca830.tar.gz
go-tangerine-2f614900e82036e3e8f6f6a714efc43e09aca830.tar.zst
go-tangerine-2f614900e82036e3e8f6f6a714efc43e09aca830.zip
Updated GHOST
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 4cc62887c..349d02097 100644
--- a/peer.go
+++ b/peer.go
@@ -675,7 +675,7 @@ func (self *Peer) handleStatus(msg *ethwire.Msg) {
func (p *Peer) pushHandshake() error {
pubkey := p.ethereum.KeyManager().PublicKey()
msg := ethwire.NewMessage(ethwire.MsgHandshakeTy, []interface{}{
- P2PVersion, []byte(p.version), []interface{}{"eth"}, uint32(30303) /*p.port*/, pubkey[1:],
+ P2PVersion, []byte(p.version), []interface{}{"eth"}, p.port, pubkey[1:],
})
p.QueueMessage(msg)