Embed CommitSig into ExtendedCommitSig instead of duplicating fields

Signed-off-by: Thane Thomson <connect@thanethomson.com>
This commit is contained in:
Thane Thomson
2022-05-07 12:30:42 -04:00
parent fe5220bca6
commit 6389f2ff0c
6 changed files with 61 additions and 117 deletions
+1 -1
View File
@@ -437,7 +437,7 @@ func buildLastExtendedCommitInfo(ec *types.ExtendedCommit, store Store, initialH
if ecs.BlockIDFlag == types.BlockIDFlagCommit {
// We only care about vote extensions if a validator has voted to
// commit.
ext = ecs.VoteExtension
ext = ecs.Extension
}
var vpb abci.Validator
// The ValidatorAddress field is empty when their vote is absent.