mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-19 06:31:57 +00:00
ValidatorSetUpdates -> ValidatorUpdates
This commit is contained in:
+2
-2
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user