mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 15:16:43 +00:00
p2p/simulations: Disable message events
Signed-off-by: Lewis Marshall <lewis@lmars.net>
This commit is contained in:
parent
7411066425
commit
be0335c889
2 changed files with 2 additions and 2 deletions
|
|
@ -63,7 +63,7 @@ func (e *ExecAdapter) NewNode(config *NodeConfig) (Node, error) {
|
|||
Node: config,
|
||||
}
|
||||
conf.Stack.DataDir = filepath.Join(dir, "data")
|
||||
conf.Stack.P2P.EnableMsgEvents = true
|
||||
conf.Stack.P2P.EnableMsgEvents = false
|
||||
conf.Stack.P2P.NoDiscovery = true
|
||||
conf.Stack.P2P.NAT = nil
|
||||
|
||||
|
|
|
|||
|
|
@ -186,7 +186,7 @@ func (self *SimNode) Start(snapshot []byte) error {
|
|||
MaxPeers: math.MaxInt32,
|
||||
NoDiscovery: true,
|
||||
Dialer: self.adapter,
|
||||
EnableMsgEvents: true,
|
||||
EnableMsgEvents: false,
|
||||
},
|
||||
NoUSB: true,
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue