mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-19 00:15:08 +00:00
fixed a couple unused variable issues
Signed-off-by: r2roC <arturo@IBM.com>
This commit is contained in:
parent
af81e1287f
commit
666e61ec6e
1 changed files with 2 additions and 2 deletions
|
|
@ -208,12 +208,12 @@ class Chaincode extends Contract{
|
|||
attributes
|
||||
} = await ctx.stub.splitCompositeKey(responseRange.value.key));
|
||||
|
||||
let returnedColor = attributes[0];
|
||||
console.log(objectType)
|
||||
let returnedAssetName = attributes[1];
|
||||
|
||||
// Now call the transfer function for the found asset.
|
||||
// Re-use the same function that is used to transfer individual assets
|
||||
let response = await this.transferAsset(ctx, returnedAssetName, newOwner);
|
||||
await this.transferAsset(ctx, returnedAssetName, newOwner);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue