mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2025-05-03 11:41:48 +00:00
rpc: drop support for gettxout method
Neo 3 doesn't need it.
This commit is contained in:
parent
232e1a2598
commit
d856df36a7
7 changed files with 0 additions and 139 deletions
|
@ -307,19 +307,6 @@ func (c *Client) GetTransactionHeight(hash util.Uint256) (uint32, error) {
|
|||
return resp, nil
|
||||
}
|
||||
|
||||
// GetTxOut returns the corresponding unspent transaction output information (returned change),
|
||||
// based on the specified hash and index.
|
||||
func (c *Client) GetTxOut(hash util.Uint256, num int) (*result.TransactionOutput, error) {
|
||||
var (
|
||||
params = request.NewRawParams(hash.StringLE(), num)
|
||||
resp = &result.TransactionOutput{}
|
||||
)
|
||||
if err := c.performRequest("gettxout", params, resp); err != nil {
|
||||
return resp, err
|
||||
}
|
||||
return resp, nil
|
||||
}
|
||||
|
||||
// GetUnclaimed returns unclaimed GAS amount of the specified address.
|
||||
func (c *Client) GetUnclaimed(address string) (*result.Unclaimed, error) {
|
||||
var (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue