From c24a331a46f668b8cb9d40df4bbce7b7faf0c715 Mon Sep 17 00:00:00 2001 From: Simon Stone Date: Fri, 20 Sep 2019 15:13:36 +0100 Subject: [PATCH] [FABN-1379] Fix dodgy E2E chaincode example_cc1++ Missed the "v.value" at the end, which means nothing gets sent back from the transaction function - found impacting another test. Signed-off-by: Simon Stone Change-Id: I7ad026937dd167c47a242293903f4e66a808c57e --- test/fixtures/chaincode/node_cc/example_cc1/chaincode.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/fixtures/chaincode/node_cc/example_cc1/chaincode.js b/test/fixtures/chaincode/node_cc/example_cc1/chaincode.js index 0d993e013f..755ce93bad 100644 --- a/test/fixtures/chaincode/node_cc/example_cc1/chaincode.js +++ b/test/fixtures/chaincode/node_cc/example_cc1/chaincode.js @@ -187,7 +187,7 @@ const Chaincode = class { return shim.error(Buffer.from('{"Error":"Did not find expected key "test" in the transient map of the proposal}')); } - return shim.success(v.value); + return shim.success(v); } /*