aboutsummaryrefslogtreecommitdiffstats
path: root/eth
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-02-01 22:30:29 +0800
committerobscuren <geffobscura@gmail.com>2015-02-01 22:30:29 +0800
commit8ccde784f9035c0a7a8f234994538c817c5b9de7 (patch)
tree6fc252d3372510abda8fd16297caca481b5beeae /eth
parentd52878c744fd7acce727feb41c2d4296e56826d3 (diff)
downloaddexon-8ccde784f9035c0a7a8f234994538c817c5b9de7.tar
dexon-8ccde784f9035c0a7a8f234994538c817c5b9de7.tar.gz
dexon-8ccde784f9035c0a7a8f234994538c817c5b9de7.tar.bz2
dexon-8ccde784f9035c0a7a8f234994538c817c5b9de7.tar.lz
dexon-8ccde784f9035c0a7a8f234994538c817c5b9de7.tar.xz
dexon-8ccde784f9035c0a7a8f234994538c817c5b9de7.tar.zst
dexon-8ccde784f9035c0a7a8f234994538c817c5b9de7.zip
Added (disabled) Jit validation
Diffstat (limited to 'eth')
-rw-r--r--eth/backend.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/eth/backend.go b/eth/backend.go
index b7b5c5f85..a8db3ab20 100644
--- a/eth/backend.go
+++ b/eth/backend.go
@@ -141,14 +141,13 @@ func New(config *Config) (*Ethereum, error) {
if err != nil {
return nil, err
}
- fmt.Println(nat)
eth.net = &p2p.Server{
Identity: clientId,
MaxPeers: config.MaxPeers,
Protocols: protocols,
Blacklist: eth.blacklist,
- NAT: p2p.UPNP(),
+ NAT: nat,
NoDial: !config.Dial,
}