Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Loading