Update types/tx.go

This commit is contained in:
Ethan Buchman 2019-08-22 20:00:49 -04:00 committed by GitHub
parent b50aa9a9ca
commit cc628c358e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -84,7 +84,7 @@ func (txs Txs) Proof(i int) TxProof {
// TxProof represents a Merkle proof of the presence of a transaction in the Merkle tree. // TxProof represents a Merkle proof of the presence of a transaction in the Merkle tree.
type TxProof struct { type TxProof struct {
RootHash cmn.HexBytes `json:"root_hash"` RootHash cmn.HexBytes `json:"root_hash"`
Data Tx `json:"Data"` Data Tx `json:"data"`
Proof merkle.SimpleProof `json:"proof"` Proof merkle.SimpleProof `json:"proof"`
} }