Skip to content

Commit

Permalink
Link fixes in create channel tutorial (#2661)
Browse files Browse the repository at this point in the history
Signed-off-by: Nikhil Gupta <ngupta@symbridge.com>
  • Loading branch information
nikhil550 authored Jun 9, 2021
1 parent dde41d9 commit b4cd030
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/source/create_channel/create_channel_test_net.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ export CORE_PEER_ADDRESS=localhost:7051
In order to use the peer CLI, we also need to modify the `FABRIC_CONFIG_PATH`:
```
FABRIC_CFG_PATH=$PWD/../config/
export FABRIC_CFG_PATH=$PWD/../config/
```
To join the test network peer from `Org1` to the channel `channel1` simply pass the genesis block in a join request:
```
Expand Down Expand Up @@ -293,7 +293,7 @@ We can now start using the `configtxlator` tool to start working with the channe
```
configtxlator proto_decode --input config_block.pb --type common.Block --output config_block.json
jq .data.data[0].payload.data.config config_block.json > config.json
jq '.data.data[0].payload.data.config' config_block.json > config.json
```
These commands convert the channel configuration block into a streamlined JSON, `config.json`, that will serve as the baseline for our update. Because we don't want to edit this file directly, we will make a copy that we can edit. We will use the original channel config in a future step.
Expand Down Expand Up @@ -357,7 +357,7 @@ cd channel-artifacts
You can then decode and copy the configuration block.
```
configtxlator proto_decode --input config_block.pb --type common.Block --output config_block.json
jq .data.data[0].payload.data.config config_block.json > config.json
jq '.data.data[0].payload.data.config' config_block.json > config.json
cp config.json config_copy.json
```
Expand Down

0 comments on commit b4cd030

Please sign in to comment.