Skip to content

Commit 45c50e8

Browse files
committed
fix(fabric-interop-cc): fix some comments
Signed-off-by: findmyhappy <[email protected]>
1 parent dc2046a commit 45c50e8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

weaver/core/network/fabric-interop-cc/contracts/interop/manage_assets.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ func (s *SmartContract) UnlockAssetUsingContractId(ctx contractapi.TransactionCo
144144
return nil
145145
}
146146

147-
// ClaimAsset cc is used to record claim of an asset on the ledger (this uses the contractId)
147+
// Record claim of an asset on the ledger (this uses the contractId)
148148
func (s *SmartContract) ClaimAssetUsingContractId(ctx contractapi.TransactionContextInterface, contractId string, claimInfoBytesBase64 string) error {
149149
callerChaincodeID, err := wutils.GetLocalChaincodeID(ctx.GetStub())
150150
if err != nil {

weaver/core/network/fabric-interop-cc/libs/assetexchange/assetSwapContracts.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ func ClaimFungibleAsset(ctx contractapi.TransactionContextInterface, contractId,
200200
return claimAssetCommon(ctx, assetLockVal.LockInfo, assetLockVal.ExpiryTimeSecs, assetLockVal.Recipient, "", contractId, claimInfoBytesBase64)
201201
}
202202

203-
// ClaimAsset cc is used to record claim of an asset on the ledger (this uses the contractId)
203+
// Record claim of an asset on the ledger (this uses the contractId)
204204
func ClaimAssetUsingContractId(ctx contractapi.TransactionContextInterface, contractId, claimInfoBytesBase64 string) error {
205205

206206
assetLockKey, assetLockVal, err := fetchLockStateUsingContractId(ctx, contractId)

0 commit comments

Comments
 (0)