Browse Source

change local app to dummy from counter

pull/192/head
Ethan Buchman 9 years ago
parent
commit
cbf7ad61f3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      node/node.go

+ 1
- 1
node/node.go View File

@ -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 {


Loading…
Cancel
Save