set log level. use p2p config

This commit is contained in:
Ethan Buchman
2016-05-11 23:24:26 -04:00
committed by Jae Kwon
parent 6365c5efb5
commit cac3cefd98
2 changed files with 5 additions and 1 deletions

View File

@ -113,7 +113,7 @@ func NewNode(config cfg.Config, privValidator *types.PrivValidator, getProxyApp
}
// Make p2p network switch
sw := p2p.NewSwitch(config)
sw := p2p.NewSwitch(config.GetConfig("p2p"))
sw.AddReactor("MEMPOOL", mempoolReactor)
sw.AddReactor("BLOCKCHAIN", bcReactor)
sw.AddReactor("CONSENSUS", consensusReactor)