core: remove UpdateHistory from NativeContract structure
Although it doesn't raise an exception on our side, we still have this unrelevant information in the resulting RPC call response structure. This should be a part of https://github.com/nspcc-dev/neo-go/pull/3212. Port https://github.com/neo-project/neo-modules/pull/851. Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
This commit is contained in:
parent
76261f1605
commit
8e8936912d
1 changed files with 0 additions and 1 deletions
|
@ -32,7 +32,6 @@ type ContractBase struct {
|
||||||
// NativeContract holds information about the native contract.
|
// NativeContract holds information about the native contract.
|
||||||
type NativeContract struct {
|
type NativeContract struct {
|
||||||
ContractBase
|
ContractBase
|
||||||
UpdateHistory []uint32 `json:"updatehistory"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// ToStackItem converts state.Contract to stackitem.Item.
|
// ToStackItem converts state.Contract to stackitem.Item.
|
||||||
|
|
Loading…
Reference in a new issue