Skip to content

Commit

Permalink
Deploy a chaincode to new channel command issue
Browse files Browse the repository at this point in the history
Since the document mentioned chaincode name argument key is --ccn but it should be -ccn.

Signed-off-by: Senthilkumar Ramadoss <senthilkumar.ramadoss@object-frontier.com>
  • Loading branch information
senthilkumar-ofs authored and denyeart committed May 17, 2021
1 parent 3f2158a commit 26b45ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/create_channel/create_channel.md
Expand Up @@ -377,7 +377,7 @@ Blockchain info: {"height":3,"currentBlockHash":"eBpwWKTNUgnXGpaY2ojF4xeP3bWdjlP

We can confirm that the channel was created successfully by deploying a chaincode to the channel. We can use the `network.sh` script to deploy the Basic asset transfer chaincode to any test network channel. Deploy a chaincode to our new channel using the following command:
```
./network.sh deployCC --ccn basic -ccp ../asset-transfer-basic/chaincode-go/ -ccl go -c channel1 --cci InitLedger
./network.sh deployCC -ccn basic -ccp ../asset-transfer-basic/chaincode-go/ -ccl go -c channel1 -cci InitLedger
```

After you run the command, you should see the chaincode being deployed to the channel in your logs. The chaincode is invoked to add data to the channel ledger.
Expand Down

0 comments on commit 26b45ca

Please sign in to comment.