support in process tmsp apps

This commit is contained in:
Ethan Buchman
2016-04-13 18:23:25 -04:00
parent 39d72d5811
commit 0df4a723e9
3 changed files with 19 additions and 8 deletions

View File

@ -51,7 +51,7 @@ func newNode(ready chan struct{}) {
// Create & start node
privValidatorFile := config.GetString("priv_validator_file")
privValidator := types.LoadOrGenPrivValidator(privValidatorFile)
node = nm.NewNode(privValidator)
node = nm.NewNode(privValidator, nm.GetProxyApp)
l := p2p.NewDefaultListener("tcp", config.GetString("node_laddr"), true)
node.AddListener(l)
node.Start()