Expose Tx method in the clients

This commit is contained in:
Ethan Frey
2017-04-13 21:49:21 +02:00
parent c848056438
commit 20458564b2
4 changed files with 42 additions and 13 deletions

View File

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