我按照说明添加了组织。但是当我输入以下命令时出现错误。根据指示,将有一个return语句,如:
2017-11-07 17:17:57.383 UTC [channelCmd] readBlock-> DEBU 011 收到的区块:2
但是我的代码是
root@5b62d61ae2f2:/opt/gopath/src/github.com/hyperledger/fabric/peer# peer channel fetch config config_block.pb -o orderer.example.com:7050 -c $CHANNEL_NAME --tls --cafile $ORDERER_CA
2018-06-27 20:41:20.385 UTC [channelCmd] InitCmdFactory -> INFO 001 Endorser and orderer connections initialized
2018-06-27 20:41:20.391 UTC [main] main -> INFO 002 Exiting.....
说明链接:https://hyperledger-fabric.readthedocs.io/en/release-1.1/channel_update_tutorial.html