mirror of
https://github.com/tendermint/tendermint.git
synced 2026-05-28 10:00:21 +00:00
fix test
This commit is contained in:
@@ -42,9 +42,11 @@ func tryCallStop(client abciclient.Client) {
|
||||
if client == nil {
|
||||
return
|
||||
}
|
||||
|
||||
if sc, ok := client.(interface{ Stop() }); ok {
|
||||
sc.Stop()
|
||||
switch c := client.(type) {
|
||||
case interface{ Stop() }:
|
||||
c.Stop()
|
||||
case *proxyClient:
|
||||
tryCallStop(c.Client)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user