From 54e30e93c8f5e8dc81cc4dda9f64a9483c9faab4 Mon Sep 17 00:00:00 2001 From: richardMao Date: Thu, 29 Mar 2018 14:30:00 -0400 Subject: [PATCH] https://jira.hyperledger.org/browse/FAB-6349 Please check this ticket. When we use dev mode. 7051 port for start sacc will throw Error starting SimpleAsset chaincode: error sending chaincode REGISTER: EOF --- docs/chaincode_developers_zh.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/chaincode_developers_zh.md b/docs/chaincode_developers_zh.md index 9d8b25d..c8730b6 100644 --- a/docs/chaincode_developers_zh.md +++ b/docs/chaincode_developers_zh.md @@ -451,7 +451,7 @@ go build 现在运行chaincode: ```bash -CORE_PEER_ADDRESS=peer:7051 CORE_CHAINCODE_ID_NAME=mycc:0 ./sacc +CORE_PEER_ADDRESS=peer:7052 CORE_CHAINCODE_ID_NAME=mycc:0 ./sacc ``` The chaincode is started with peer and chaincode logs indicating successful registration with the peer. Note that at this stage the chaincode is not associated with any channel. This is done in subsequent steps using the `instantiate` command.