ValidatorSetUpdates -> ValidatorUpdates

This commit is contained in:
Anton Kaliaev
2017-12-21 11:52:26 -06:00
parent 843e1ed400
commit 0ffd60b8cf
6 changed files with 23 additions and 23 deletions
+2 -2
View File
@@ -12,11 +12,11 @@ type tm2pb struct{}
func (tm2pb) Header(header *Header) *types.Header {
return &types.Header{
ChainId: header.ChainID,
ChainID: header.ChainID,
Height: header.Height,
Time: header.Time.Unix(),
NumTxs: int32(header.NumTxs), // XXX: overflow
LastBlockId: TM2PB.BlockID(header.LastBlockID),
LastBlockID: TM2PB.BlockID(header.LastBlockID),
LastCommitHash: header.LastCommitHash,
DataHash: header.DataHash,
AppHash: header.AppHash,