p2p/simulations: Disable message events

Signed-off-by: Lewis Marshall <lewis@lmars.net>
This commit is contained in:
Lewis Marshall 2017-05-17 21:53:50 -07:00
parent 7411066425
commit be0335c889
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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,
})