add Health method to clients

Refs #1296
This commit is contained in:
Anton Kaliaev
2018-03-19 19:53:50 +03:00
parent b11c26cc1c
commit 830bb72d6f
4 changed files with 23 additions and 0 deletions

View File

@@ -84,6 +84,10 @@ func (Local) DumpConsensusState() (*ctypes.ResultDumpConsensusState, error) {
return core.DumpConsensusState()
}
func (Local) Health() (*ctypes.ResultHealth, error) {
return core.Health()
}
func (Local) DialSeeds(seeds []string) (*ctypes.ResultDialSeeds, error) {
return core.UnsafeDialSeeds(seeds)
}