Skip to content

Commit

Permalink
[FAB-8148] Protolation for ORDERER_TRANSACTION
Browse files Browse the repository at this point in the history
The proto translation tool throws an error when certain blocks on the
ordering system channel are examined.  This CR associates the correct
decoding type for these transactions to fix this error.

Change-Id: I836eefaa1a3ca599d72f91440270b507abc67791
Signed-off-by: Jason Yellick <[email protected]>
  • Loading branch information
Jason Yellick committed Feb 9, 2018
1 parent f82ad36 commit 85cd25b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions protos/common/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ func (p *Payload) VariablyOpaqueFields() []string {

var PayloadDataMap = map[int32]proto.Message{
int32(HeaderType_CONFIG): &ConfigEnvelope{},
int32(HeaderType_ORDERER_TRANSACTION): &Envelope{},
int32(HeaderType_CONFIG_UPDATE): &ConfigUpdateEnvelope{},
int32(HeaderType_PEER_RESOURCE_UPDATE): &ConfigUpdateEnvelope{},
int32(HeaderType_MESSAGE): &ConfigValue{}, // Only used by broadcast_msg sample client
Expand Down

0 comments on commit 85cd25b

Please sign in to comment.