Add proper field names for JSON RPC (#80)
This commit is contained in:
parent
68ca254dd2
commit
cff42de061
2 changed files with 3 additions and 3 deletions
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
||||||
0.43.0
|
0.44.0
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue