mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2025-05-03 01:41:48 +00:00
rpc: use state.AppExecResult for ApplicationLog marshalling
Closes #1371
This commit is contained in:
parent
34df5d5949
commit
acacac1b24
11 changed files with 276 additions and 136 deletions
|
@ -19,10 +19,10 @@ import (
|
|||
)
|
||||
|
||||
// GetApplicationLog returns the contract log based on the specified txid.
|
||||
func (c *Client) GetApplicationLog(hash util.Uint256) (*result.ApplicationLog, error) {
|
||||
func (c *Client) GetApplicationLog(hash util.Uint256) (*state.AppExecResult, error) {
|
||||
var (
|
||||
params = request.NewRawParams(hash.StringLE())
|
||||
resp = &result.ApplicationLog{}
|
||||
resp = new(state.AppExecResult)
|
||||
)
|
||||
if err := c.performRequest("getapplicationlog", params, resp); err != nil {
|
||||
return nil, err
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue