Skip to content

Commit

Permalink
[FAB-7767] Fix events proto
Browse files Browse the repository at this point in the history
Fix events proto definition to align protobuf message definition code guideliness.
this is related to FAB-7731.

Change-Id: I09dd9e013cf7c9787c6b0346112570ac33cfaac5
Signed-off-by: luomin <luomin_tokyotech@hotmail.com>
  • Loading branch information
luomin committed Jan 17, 2018
1 parent ce1f6a4 commit 5c1ec45
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions protos/peer/events.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions protos/peer/events.proto
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ message Unregister {
message FilteredBlock {
string channel_id = 1;
uint64 number = 2; // The position in the blockchain
repeated FilteredTransaction filtered_tx = 4;
repeated FilteredTransaction filtered_transactions = 4;
}

// FilteredTransaction is a minimal set of information about a transaction
Expand All @@ -103,7 +103,7 @@ message FilteredTransactionActions {
//FilteredChaincodeAction is a minimal set of information about an action within a
//transaction.
message FilteredChaincodeAction {
ChaincodeEvent ccEvent = 1;
ChaincodeEvent chaincode_event = 1;
}

// SignedEvent is used for any communication between consumer and producer
Expand Down Expand Up @@ -167,4 +167,4 @@ service Deliver {
// then a stream of **filtered** block replies is received.
rpc DeliverFiltered (stream common.Envelope) returns (stream DeliverResponse) {
}
}
}

0 comments on commit 5c1ec45

Please sign in to comment.