diff --git a/pkg/smartcontract/parameter_test.go b/pkg/smartcontract/parameter_test.go index 55c8c2fd7..9e6e08fd1 100644 --- a/pkg/smartcontract/parameter_test.go +++ b/pkg/smartcontract/parameter_test.go @@ -71,7 +71,7 @@ var marshalJSONTestCases = []struct { input: Parameter{ Type: MapType, 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"}, }, },