rpc: historical validators

This commit is contained in:
Ethan Buchman
2017-08-21 18:11:16 -04:00
parent 78446fd99c
commit e2e8746044
9 changed files with 31 additions and 15 deletions

View File

@ -101,8 +101,8 @@ func (c Local) Commit(height int) (*ctypes.ResultCommit, error) {
return core.Commit(height)
}
func (c Local) Validators() (*ctypes.ResultValidators, error) {
return core.Validators()
func (c Local) Validators(height *int) (*ctypes.ResultValidators, error) {
return core.Validators(height)
}
func (c Local) Tx(hash []byte, prove bool) (*ctypes.ResultTx, error) {