|
@ -230,7 +230,7 @@ func makeNodeInfo(sw *p2p.Switch, privKey crypto.PrivKeyEd25519) *p2p.NodeInfo { |
|
|
func getProxyApp(addr string, hash []byte) (proxyAppConn proxy.AppConn) { |
|
|
func getProxyApp(addr string, hash []byte) (proxyAppConn proxy.AppConn) { |
|
|
// use local app (for testing)
|
|
|
// use local app (for testing)
|
|
|
if addr == "local" { |
|
|
if addr == "local" { |
|
|
app := example.NewCounterApplication(true) |
|
|
|
|
|
|
|
|
app := example.NewDummyApplication() |
|
|
mtx := new(sync.Mutex) |
|
|
mtx := new(sync.Mutex) |
|
|
proxyAppConn = proxy.NewLocalAppConn(mtx, app) |
|
|
proxyAppConn = proxy.NewLocalAppConn(mtx, app) |
|
|
} else { |
|
|
} else { |
|
|