Commit d0ee108e authored by Christopher Ferris's avatar Christopher Ferris Committed by Gerrit Code Review
Browse files

Merge "[FAB-12371]Fix the doc to use new cid package"

parents 7c6241cf bd576c53
......@@ -23,7 +23,7 @@ All code samples below assume two things:
to your chaincode.
2. You have added the following import statement to your chaincode.
```
import "github.com/hyperledger/fabric/core/chaincode/lib/cid"
import "github.com/hyperledger/fabric/core/chaincode/shim/ext/cid"
```
#### Getting the client's ID
......
......@@ -35,7 +35,7 @@ Chaincode API
such access control decisions.
We won't cover that in this tutorial, however it is
`documented here <https://github.com/hyperledger/fabric/blob/master/core/chaincode/lib/cid/README.md>`_.
`documented here <https://github.com/hyperledger/fabric/blob/master/core/chaincode/shim/ext/cid/README.md>`_.
Every chaincode program must implement the ``Chaincode`` interface:
......
......@@ -221,7 +221,7 @@ Limitations:
non-authorized clients are able to invoke chaincode on peers that have access
to the private data, the chaincode logic still needs a means to enforce access
control as usual, for example by calling the GetCreator() chaincode API or
using the client identity `chaincode library <https://github.com/hyperledger/fabric/tree/master/core/chaincode/lib/cid>`__ .
using the client identity `chaincode library <https://github.com/hyperledger/fabric/tree/master/core/chaincode/shim/ext/cid>`__ .
Using Indexes with collections
------------------------------
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment