implementing ExecTx...

This commit is contained in:
Jae Kwon
2014-10-07 23:11:04 -07:00
parent 0c206aa748
commit 18e2d4bf48
14 changed files with 265 additions and 247 deletions

View File

@ -69,7 +69,7 @@ func (vs *VoteSet) AddVote(vote *Vote) (bool, error) {
}
// Check signature.
if !val.Verify(vote.GenDocument(), vote.Signature) {
if !val.Verify(vote) {
// Bad signature.
return false, ErrVoteInvalidSignature
}