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

chaincode argument error: unexpected end of JSON input

$
0
0

I have created a test network and I am able to install the chaincode I have created in golang. But when instantiating it I receive the following:

2020-03-24 08:00:00.843 UTC [chaincodeCmd] checkChaincodeCmdParams -> INFO 04a Using default escc2020-03-24 08:00:00.844 UTC [chaincodeCmd] checkChaincodeCmdParams -> INFO 04b Using default vsccError: chaincode argument error: unexpected end of JSON input

If I build the code in its own directory, it compiles without problems.

I can install and instantiate the code in another development network, but not in one I have created from scratch.

Help would be appreciated!

Thanks!


Viewing all articles
Browse latest Browse all 4

Trending Articles