Add proper field names for JSON RPC

This commit is contained in:
Evgenii Stratonikov 2018-04-28 16:16:32 +03:00
parent 648563c3e2
commit e12699e3ed
2 changed files with 3 additions and 3 deletions

View file

@ -1 +1 @@
0.42.0
0.43.0

View file

@ -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