From 71039f8f79604b76b53b39764ccd2bba4da6d872 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Macedo?= Date: Tue, 31 Jan 2023 11:19:13 -0300 Subject: [PATCH] :bulb: Remove comments --- assets/dynamicAssetTypeFuncs.go | 1 - test/tx_createAssetType_test.go | 2 -- 2 files changed, 3 deletions(-) diff --git a/assets/dynamicAssetTypeFuncs.go b/assets/dynamicAssetTypeFuncs.go index 9f47790..4419fbd 100644 --- a/assets/dynamicAssetTypeFuncs.go +++ b/assets/dynamicAssetTypeFuncs.go @@ -161,7 +161,6 @@ func HandlePropUpdate(assetProps AssetProp, propMap map[string]interface{}) (Ass func CheckDataType(dataType string, newTypesList []interface{}) errors.ICCError { trimDataType := strings.TrimPrefix(dataType, "[]") - // ? How to handle array of assets types? (the array being in the creation) if strings.HasPrefix(trimDataType, "->") { trimDataType = strings.TrimPrefix(trimDataType, "->") diff --git a/test/tx_createAssetType_test.go b/test/tx_createAssetType_test.go index 532b30a..6a72ec5 100644 --- a/test/tx_createAssetType_test.go +++ b/test/tx_createAssetType_test.go @@ -10,8 +10,6 @@ import ( "github.com/goledgerdev/cc-tools/mock" ) -// TODO: Lista de assets com referencia - func TestCreateAssetType(t *testing.T) { stub := mock.NewMockStub("org1MSP", new(testCC)) newType := map[string]interface{}{