From cff42de061b6d5527dba566b3edc922ba81aa6d0 Mon Sep 17 00:00:00 2001 From: fyrchik Date: Fri, 4 May 2018 20:15:35 +0300 Subject: [PATCH] Add proper field names for JSON RPC (#80) --- VERSION | 2 +- pkg/smartcontract/param_context.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/VERSION b/VERSION index 8298bb08b..a8ab6c966 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.43.0 +0.44.0 diff --git a/pkg/smartcontract/param_context.go b/pkg/smartcontract/param_context.go index c7336849d..4344d9644 100644 --- a/pkg/smartcontract/param_context.go +++ b/pkg/smartcontract/param_context.go @@ -21,9 +21,9 @@ const ( // Parameter represents a smart contract parameter. type Parameter struct { // Type of the parameter - Type ParamType + Type ParamType `json:"type"` // The actual value of the parameter. - Value interface{} + Value interface{} `json:"value"` } // NewParameter returns a Parameter with proper initialized Value