Add proper field names for JSON RPC (#80)

This commit is contained in:
Evgenii Stratonikov 2018-05-04 20:15:35 +03:00 committed by Anthony De Meulemeester
parent 68ca254dd2
commit cff42de061
2 changed files with 3 additions and 3 deletions

View file

@ -1 +1 @@
0.43.0 0.44.0

View file

@ -21,9 +21,9 @@ const (
// Parameter represents a smart contract parameter. // Parameter represents a smart contract parameter.
type Parameter struct { type Parameter struct {
// Type of the parameter // Type of the parameter
Type ParamType Type ParamType `json:"type"`
// The actual value of the parameter. // The actual value of the parameter.
Value interface{} Value interface{} `json:"value"`
} }
// NewParameter returns a Parameter with proper initialized Value // NewParameter returns a Parameter with proper initialized Value