smartcontract: use int64 for Integer parameter value
This commit is contained in:
parent
b37c5939f8
commit
0f17b9be1d
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ var marshalJSONTestCases = []struct {
|
||||||
input: Parameter{
|
input: Parameter{
|
||||||
Type: MapType,
|
Type: MapType,
|
||||||
Value: map[Parameter]Parameter{
|
Value: map[Parameter]Parameter{
|
||||||
{Type: StringType, Value: "key1"}: {Type: IntegerType, Value: 1},
|
{Type: StringType, Value: "key1"}: {Type: IntegerType, Value: int64(1)},
|
||||||
{Type: StringType, Value: "key2"}: {Type: StringType, Value: "two"},
|
{Type: StringType, Value: "key2"}: {Type: StringType, Value: "two"},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue