mirror of
https://github.com/fluencelabs/tendermint
synced 2025-04-24 22:32:15 +00:00
proxy: nil -> nilapp
This commit is contained in:
parent
25839d0bb5
commit
0b919f4fd2
@ -54,6 +54,7 @@ func NewRemoteClientCreator(addr, transport string, mustConnect bool) ClientCrea
|
||||
|
||||
func (r *remoteClientCreator) NewTMSPClient() (tmspcli.Client, error) {
|
||||
// Run forever in a loop
|
||||
fmt.Println("ADDR", r.addr, r.transport)
|
||||
remoteApp, err := tmspcli.NewClient(r.addr, r.transport, r.mustConnect)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("Failed to connect to proxy: %v", err)
|
||||
@ -71,7 +72,7 @@ func DefaultClientCreator(config cfg.Config) ClientCreator {
|
||||
switch addr {
|
||||
case "dummy":
|
||||
return NewLocalClientCreator(dummy.NewDummyApplication())
|
||||
case "nil":
|
||||
case "nilapp":
|
||||
return NewLocalClientCreator(nilapp.NewNilApplication())
|
||||
default:
|
||||
mustConnect := true
|
||||
|
Loading…
x
Reference in New Issue
Block a user