Skip to content

Commit

Permalink
[FABN-1379] Fix dodgy E2E chaincode example_cc1++
Browse files Browse the repository at this point in the history
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 <[email protected]>
Change-Id: I7ad026937dd167c47a242293903f4e66a808c57e
  • Loading branch information
Simon Stone authored and harrisob committed Sep 20, 2019
1 parent a2f1d7f commit c24a331
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/fixtures/chaincode/node_cc/example_cc1/chaincode.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

/*
Expand Down

0 comments on commit c24a331

Please sign in to comment.