From c816a4f36c4ca0ec1bc14a59d15743b9e0e828e9 Mon Sep 17 00:00:00 2001 From: findmyhappy Date: Tue, 28 Oct 2025 10:24:17 +0800 Subject: [PATCH] fix(fabric-interop-cc): fix some comments Signed-off-by: findmyhappy --- .../fabric-interop-cc/contracts/interop/manage_assets.go | 2 +- .../fabric-interop-cc/libs/assetexchange/assetSwapContracts.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/weaver/core/network/fabric-interop-cc/contracts/interop/manage_assets.go b/weaver/core/network/fabric-interop-cc/contracts/interop/manage_assets.go index 7307c3c7b0..59a758b2e5 100644 --- a/weaver/core/network/fabric-interop-cc/contracts/interop/manage_assets.go +++ b/weaver/core/network/fabric-interop-cc/contracts/interop/manage_assets.go @@ -144,7 +144,7 @@ func (s *SmartContract) UnlockAssetUsingContractId(ctx contractapi.TransactionCo return nil } -// ClaimAsset cc is used to record claim of an asset on the ledger (this uses the contractId) +// Record claim of an asset on the ledger (this uses the contractId) func (s *SmartContract) ClaimAssetUsingContractId(ctx contractapi.TransactionContextInterface, contractId string, claimInfoBytesBase64 string) error { callerChaincodeID, err := wutils.GetLocalChaincodeID(ctx.GetStub()) if err != nil { diff --git a/weaver/core/network/fabric-interop-cc/libs/assetexchange/assetSwapContracts.go b/weaver/core/network/fabric-interop-cc/libs/assetexchange/assetSwapContracts.go index 01c4ad7639..496305bae0 100644 --- a/weaver/core/network/fabric-interop-cc/libs/assetexchange/assetSwapContracts.go +++ b/weaver/core/network/fabric-interop-cc/libs/assetexchange/assetSwapContracts.go @@ -200,7 +200,7 @@ func ClaimFungibleAsset(ctx contractapi.TransactionContextInterface, contractId, return claimAssetCommon(ctx, assetLockVal.LockInfo, assetLockVal.ExpiryTimeSecs, assetLockVal.Recipient, "", contractId, claimInfoBytesBase64) } -// ClaimAsset cc is used to record claim of an asset on the ledger (this uses the contractId) +// Record claim of an asset on the ledger (this uses the contractId) func ClaimAssetUsingContractId(ctx contractapi.TransactionContextInterface, contractId, claimInfoBytesBase64 string) error { assetLockKey, assetLockVal, err := fetchLockStateUsingContractId(ctx, contractId)