aboutsummaryrefslogtreecommitdiffstats
path: root/eth/handler.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <geffobscura@gmail.com>2015-07-22 19:41:31 +0800
committerJeffrey Wilcke <geffobscura@gmail.com>2015-07-25 19:55:56 +0800
commit036e6301af123ddc7d33f45545bdc083d1573bd8 (patch)
tree9ed4f3eec686167ef50e7df0e06223f9b08ad22c /eth/handler.go
parent5001f778aac5cf77a200da7829f8d28547208fed (diff)
downloadgo-tangerine-036e6301af123ddc7d33f45545bdc083d1573bd8.tar
go-tangerine-036e6301af123ddc7d33f45545bdc083d1573bd8.tar.gz
go-tangerine-036e6301af123ddc7d33f45545bdc083d1573bd8.tar.bz2
go-tangerine-036e6301af123ddc7d33f45545bdc083d1573bd8.tar.lz
go-tangerine-036e6301af123ddc7d33f45545bdc083d1573bd8.tar.xz
go-tangerine-036e6301af123ddc7d33f45545bdc083d1573bd8.tar.zst
go-tangerine-036e6301af123ddc7d33f45545bdc083d1573bd8.zip
cmd/geth, core, eth: Version 1.0.0
Genesis release. Closes #1402 Conflicts: cmd/geth/main.go
Diffstat (limited to 'eth/handler.go')
-rw-r--r--eth/handler.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/eth/handler.go b/eth/handler.go
index 5ea9a3fdb..f2ae2b6f7 100644
--- a/eth/handler.go
+++ b/eth/handler.go
@@ -95,6 +95,7 @@ func NewProtocolManager(networkId int, mux *event.TypeMux, txpool txPool, pow po
newPeerCh: make(chan *peer, 1),
txsyncCh: make(chan *txsync),
quitSync: make(chan struct{}),
+ netId: networkId,
}
// Initiate a sub-protocol for every implemented version we can handle
manager.SubProtocols = make([]p2p.Protocol, len(ProtocolVersions))