smartcontract: use int64 for Integer parameter value

This commit is contained in:
Evgenii Stratonikov 2020-03-23 16:23:56 +03:00
parent b37c5939f8
commit 0f17b9be1d

View file

@ -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"},
}, },
}, },