From d27775acc54a1c92bbe1339088c99a734d076670 Mon Sep 17 00:00:00 2001 From: Anna Shaleva Date: Mon, 5 Oct 2020 16:00:15 +0300 Subject: [PATCH] rpc: remove json names from result.Invoke struct We use invokeAux to marshal result.Invoke to JSON. --- pkg/rpc/response/result/invoke.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/rpc/response/result/invoke.go b/pkg/rpc/response/result/invoke.go index 7b9f83522..55fbf9ba9 100644 --- a/pkg/rpc/response/result/invoke.go +++ b/pkg/rpc/response/result/invoke.go @@ -9,10 +9,10 @@ import ( // Invoke represents code invocation result and is used by several RPC calls // that invoke functions, scripts and generic bytecode. type Invoke struct { - State string `json:"state"` - GasConsumed int64 `json:"gasconsumed,string"` - Script string `json:"script"` - Stack []stackitem.Item `json:"stack"` + State string + GasConsumed int64 + Script string + Stack []stackitem.Item } type invokeAux struct {