Skip to content

Commit

Permalink
a comment is added for ChainBlock
Browse files Browse the repository at this point in the history
  • Loading branch information
noel2004 committed Jul 9, 2020
1 parent b5a70a3 commit 9a56754
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions client/chain_proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ type ChainTxEvents struct {
Payload []byte `json:"-"`
}

//ChainBlock represent a block concept for fabric-stype blocks
//Notice an transactions which is not accepted (i.e. no contribution
//to world-status) MUST NOT be put in Transactions field
//but one ChainTxEvents corresponding to this failed tx, with Status
//field is non-zero, can be put in TxEvents field
type ChainBlock struct {
Height int64 `json:",string"`
Hash string `json:",omitempty"`
Expand Down

0 comments on commit 9a56754

Please sign in to comment.