Skip to content

Commit

Permalink
Merge "[FAB-6777] Incorrect comment about cc events"
Browse files Browse the repository at this point in the history
  • Loading branch information
C0rWin authored and Gerrit Code Review committed Dec 10, 2017
2 parents ed9b830 + 0e40ff2 commit 554b8d5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
7 changes: 4 additions & 3 deletions core/chaincode/shim/interfaces_experimental.go
Expand Up @@ -252,9 +252,10 @@ type ChaincodeStubInterface interface {
// client's timestamp, and will have the same value across all endorsers.
GetTxTimestamp() (*timestamp.Timestamp, error)

// SetEvent allows the chaincode to propose an event on the transaction
// proposal. If the transaction is validated and successfully committed,
// the event will be delivered to the current event listeners.
// SetEvent allows the chaincode to set an event on the response to the
// proposal to be included as part of a transaction. The event will be
// available within the transaction in the committed block regardless of the
// validity of the transaction.
SetEvent(name string, payload []byte) error
}

Expand Down
7 changes: 4 additions & 3 deletions core/chaincode/shim/interfaces_stable.go
Expand Up @@ -190,9 +190,10 @@ type ChaincodeStubInterface interface {
// client's timestamp, and will have the same value across all endorsers.
GetTxTimestamp() (*timestamp.Timestamp, error)

// SetEvent allows the chaincode to propose an event on the transaction
// proposal. If the transaction is validated and successfully committed,
// the event will be delivered to the current event listeners.
// SetEvent allows the chaincode to set an event on the response to the
// proposal to be included as part of a transaction. The event will be
// available within the transaction in the committed block regardless of the
// validity of the transaction.
SetEvent(name string, payload []byte) error
}

Expand Down

0 comments on commit 554b8d5

Please sign in to comment.