mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-23 01:55:10 +00:00
init function does not exist, it is actually the initLedger the correct one
It was actually the other way around, it is the no TLS line which was wrong and should have ready `initLedger` instead of `init`. Signed-off-by: Jonathan Gross <woodyjon@gmail.com> Signed-off-by: Jon <woodyjon@gmail.com> Signed-off-by: Jonathan Gross <woodyjon@gmail.com>
This commit is contained in:
parent
0fcc443b1a
commit
9e466bab04
1 changed files with 1 additions and 1 deletions
|
|
@ -222,7 +222,7 @@ chaincodeInvokeInit() {
|
||||||
set +x
|
set +x
|
||||||
else
|
else
|
||||||
set -x
|
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":"init","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":"initLedger","Args":[]}' >&log.txt
|
||||||
res=$?
|
res=$?
|
||||||
set +x
|
set +x
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue