From 0fcc443b1ae530c7e892efd1af887d1c6e006d99 Mon Sep 17 00:00:00 2001 From: Jon Date: Thu, 13 Feb 2020 16:12:50 +0100 Subject: [PATCH] test-network deployCC.sh invoke chaincode inconsistency Keep consistency of the function called in the "no TLS" and "with TLS" cases Signed-off-by: Jonathan Gross Signed-off-by: Jon Signed-off-by: Jonathan Gross --- test-network/scripts/deployCC.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-network/scripts/deployCC.sh b/test-network/scripts/deployCC.sh index 94880b15..cbbd0aaf 100755 --- a/test-network/scripts/deployCC.sh +++ b/test-network/scripts/deployCC.sh @@ -222,7 +222,7 @@ chaincodeInvokeInit() { set +x else set -x - peer chaincode invoke -o localhost:7050 --ordererTLSHostnameOverride orderer.example.com --tls $CORE_PEER_TLS_ENABLED --cafile $ORDERER_CA -C $CHANNEL_NAME -n fabcar $PEER_CONN_PARMS --isInit -c '{"function":"initLedger","Args":[]}' >&log.txt + peer chaincode invoke -o localhost:7050 --ordererTLSHostnameOverride orderer.example.com --tls $CORE_PEER_TLS_ENABLED --cafile $ORDERER_CA -C $CHANNEL_NAME -n fabcar $PEER_CONN_PARMS --isInit -c '{"function":"init","Args":[]}' >&log.txt res=$? set +x fi