mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-28 12:11:44 +00:00
p2p: push handshake containing chainId for early disconnect. Closes #12
This commit is contained in:
@ -65,6 +65,7 @@ func NewNode() *Node {
|
||||
}
|
||||
|
||||
sw := p2p.NewSwitch([]p2p.Reactor{pexReactor, mempoolReactor, consensusReactor})
|
||||
sw.SetChainId(state.Hash(), config.App().GetString("Network"))
|
||||
|
||||
return &Node{
|
||||
sw: sw,
|
||||
|
Reference in New Issue
Block a user