Browse Source

Inject vote extensions into proposal

Signed-off-by: Thane Thomson <connect@thanethomson.com>
thane/7655-vote-extensions
Thane Thomson 3 years ago
parent
commit
aac3df4901
No known key found for this signature in database GPG Key ID: 19811391D676EE45
1 changed files with 1 additions and 4 deletions
  1. +1
    -4
      internal/state/execution.go

+ 1
- 4
internal/state/execution.go View File

@ -441,10 +441,7 @@ func extendedCommitInfo(c abci.CommitInfo, votes []*types.Vote) abci.ExtendedCom
vs[i] = abci.ExtendedVoteInfo{
Validator: c.Votes[i].Validator,
SignedLastBlock: c.Votes[i].SignedLastBlock,
/*
TODO: Include vote extensions information when implementing vote extensions.
VoteExtension: []byte{},
*/
VoteExtension: votes[i].Extension,
}
}
return abci.ExtendedCommitInfo{


Loading…
Cancel
Save