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)