Skip to content

Commit

Permalink
[FABCJ-214] - Java chaincode gRPC server
Browse files Browse the repository at this point in the history
fix error message in example

Signed-off-by: Oleksandr Yamkovyi <[email protected]>
  • Loading branch information
oyamkovyi committed Jan 28, 2021
1 parent 859c37c commit 6975e54
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public static void main(String[] args) throws Exception {

final String coreChaincodeIdName = System.getenv(CORE_CHAINCODE_ID);
if (coreChaincodeIdName == null || coreChaincodeIdName.isEmpty()) {
throw new IOException("core peer address not defined in system env. for example 'CORE_CHAINCODE_ID=externalcc:06d1d324e858751d6eb4211885e9fd9ff74b62cb4ffda2242277fac95d467033'");
throw new IOException("core chaincode id not defined in system env. for example 'CORE_CHAINCODE_ID=externalcc:06d1d324e858751d6eb4211885e9fd9ff74b62cb4ffda2242277fac95d467033'");
}

ContractRouter contractRouter = new ContractRouter(new String[] {"-i", coreChaincodeIdName});
Expand Down

0 comments on commit 6975e54

Please sign in to comment.