Fix if else case

This commit is contained in:
Manfred Karrer 2019-03-28 19:51:31 -05:00
parent 39ee4c079f
commit 695ed137e2
No known key found for this signature in database
GPG key ID: 401250966A6B2C46

View file

@ -388,8 +388,7 @@ public class VoteResultService implements DaoStateListener, DaoSetupService {
if (!entry.getValue().isPresent()) {
log.warn("We found a local vote but don't have that vote in the data from the " +
"blind vote. ballot={}", ballot);
}
if (ballot.getVote() != entry.getValue().get()) {
} else if (ballot.getVote() != entry.getValue().get()) {
log.warn("We found a local vote but the vote from the " +
"blind vote does not match. ballot={}, vote from blindVote data={}",
ballot, entry.getValue().get());