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

@ -20,7 +20,7 @@ func TestNodeStartStop(t *testing.T) {
privValidator := types.LoadOrGenPrivValidator(privValidatorFile)
// Create & start node
n := NewNode(privValidator)
n := NewNode(privValidator, GetProxyApp)
l := p2p.NewDefaultListener("tcp", config.GetString("node_laddr"), config.GetBool("skip_upnp"))
n.AddListener(l)
n.Start()