mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-05 07:37:14 +00:00
ignore mustConnect for now. fix test_counter
This commit is contained in:
@@ -54,6 +54,7 @@ func NewClient(addr string, mustConnect bool) (*remoteClient, error) {
|
||||
}
|
||||
cli.QuitService = *NewQuitService(nil, "remoteClient", cli)
|
||||
_, err := cli.Start() // Just start it, it's confusing for callers to remember to start.
|
||||
return cli, err
|
||||
if mustConnect {
|
||||
return nil, err
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user