mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-26 03:01:42 +00:00
use TendermintResult for rpctypes.Result
This commit is contained in:
@ -29,7 +29,7 @@ func TestJSONStatus(t *testing.T) {
|
||||
}
|
||||
|
||||
func testStatus(t *testing.T, result interface{}) {
|
||||
status := result.(*ctypes.ResultStatus)
|
||||
status := result.(*ctypes.TendermintResult).Result.(*ctypes.ResultStatus)
|
||||
if status.NodeInfo.Network != chainID {
|
||||
t.Fatal(fmt.Errorf("ChainID mismatch: got %s expected %s",
|
||||
status.NodeInfo.Network, chainID))
|
||||
|
Reference in New Issue
Block a user