We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c560719 commit ad21117Copy full SHA for ad21117
libraries/fabric-shim/lib/stub.js
@@ -763,6 +763,7 @@ class ChaincodeStub {
763
* Only a single chaincode event can be included in a transaction.
764
* If setEvent() is called multiple times only the last event will be included in the transaction.
765
* The event must originate from the outer-most invoked chaincode in chaincode-to-chaincode scenarios.
766
+ * If Chaincode A invokes Chaincode B, and Chaincode B calls setEvent, that event will be ignored by the peer.
767
* The marshaled ChaincodeEvent will be available in the transaction's ChaincodeAction.events field.
768
* @param {string} name Name of the event
769
* @param {byte[]} payload A payload can be used to include data about the event
0 commit comments