rpc: drop getaccountstate method

It's not relevant for Neo 3.
This commit is contained in:
Roman Khimov 2020-06-02 00:26:37 +03:00
parent 657bb7575e
commit c6ae954e4e
8 changed files with 9 additions and 161 deletions

View file

@ -17,18 +17,6 @@ import (
"github.com/pkg/errors"
)
// GetAccountState returns detailed information about a NEO account.
func (c *Client) GetAccountState(address string) (*result.AccountState, error) {
var (
params = request.NewRawParams(address)
resp = &result.AccountState{}
)
if err := c.performRequest("getaccountstate", params, resp); err != nil {
return nil, err
}
return resp, nil
}
// GetApplicationLog returns the contract log based on the specified txid.
func (c *Client) GetApplicationLog(hash util.Uint256) (*result.ApplicationLog, error) {
var (