From 0f17b9be1ddd612b32ff394a6ccb06a2ed46a8dc Mon Sep 17 00:00:00 2001 From: Evgenii Stratonikov Date: Mon, 23 Mar 2020 16:23:56 +0300 Subject: [PATCH] smartcontract: use int64 for Integer parameter value --- pkg/smartcontract/parameter_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"}, }, },