mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-26 19:42:23 +00:00
rpc: fix parameters construction error for findstates
client wrapper
This commit is contained in:
parent
4c469e6f49
commit
edcb6e2eee
1 changed files with 1 additions and 1 deletions
|
@ -459,7 +459,7 @@ func (c *Client) GetState(stateroot util.Uint256, historicalContractHash util.Ui
|
||||||
func (c *Client) FindStates(stateroot util.Uint256, historicalContractHash util.Uint160, historicalPrefix []byte,
|
func (c *Client) FindStates(stateroot util.Uint256, historicalContractHash util.Uint160, historicalPrefix []byte,
|
||||||
start []byte, maxCount *int) (result.FindStates, error) {
|
start []byte, maxCount *int) (result.FindStates, error) {
|
||||||
var (
|
var (
|
||||||
params = request.NewRawParams(stateroot.StringLE(), historicalContractHash.StringLE(), historicalPrefix, historicalPrefix, start)
|
params = request.NewRawParams(stateroot.StringLE(), historicalContractHash.StringLE(), historicalPrefix, start)
|
||||||
resp result.FindStates
|
resp result.FindStates
|
||||||
)
|
)
|
||||||
if maxCount != nil {
|
if maxCount != nil {
|
||||||
|
|
Loading…
Reference in a new issue