From e5af06cbb8de9e72baa8a43c86f22bb6e8b0c290 Mon Sep 17 00:00:00 2001 From: Baohua Yang Date: Fri, 5 May 2017 14:18:46 +0800 Subject: [PATCH] Remove unused params --- hyperledger/1.0/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hyperledger/1.0/README.md b/hyperledger/1.0/README.md index 8e0ca97d..4f05578b 100644 --- a/hyperledger/1.0/README.md +++ b/hyperledger/1.0/README.md @@ -140,7 +140,7 @@ Inside the container, query the existing value of `a` and `b`. *Notice that the query method can be called by invoke a transaction.* ```bash -root@cli:/go/src/github.com/hyperledger/fabric# peer chaincode query -n test_cc -c '{"Args":["query","a"]}' -o orderer0:7050 +root@cli:/go/src/github.com/hyperledger/fabric# peer chaincode query -n test_cc -c '{"Args":["query","a"]}' ``` The final output may look like the following, with a payload value of `100`. @@ -182,12 +182,12 @@ The final result may look like the following, the response should be `OK`. Query again the existing value of `a` and `b`. ```bash -root@cli:/go/src/github.com/hyperledger/fabric# peer chaincode query -n test_cc -c '{"Args":["query","a"]}' -o orderer0:7050 +root@cli:/go/src/github.com/hyperledger/fabric# peer chaincode query -n test_cc -c '{"Args":["query","a"]}' ``` The new value of `a` should be 90. ```bash -root@cli:/go/src/github.com/hyperledger/fabric# peer chaincode query -n test_cc -c '{"Args":["query","b"]}' -o orderer0:7050 +root@cli:/go/src/github.com/hyperledger/fabric# peer chaincode query -n test_cc -c '{"Args":["query","b"]}' ``` The new value of `b` should be 210.