Quantcast
Channel: chaincode argument error: unexpected end of JSON input - Stack Overflow
Viewing all articles
Browse latest Browse all 4

Answer by kekomal for chaincode argument error: unexpected end of JSON input

$
0
0

Use quotation marks when referencing CC_CONSTRUCTOR variable. Otherwise, bash prioritizes inner spaces over inner quotation marks:

peer chaincode instantiate -C $CC_CHANNEL_ID -n $CC_NAME -v $CC_VERSION -c "$CC_CONSTRUCTOR" -o $ORDERER_ADDRESS

Viewing all articles
Browse latest Browse all 4

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>