Skip to content

Commit

Permalink
Fix balloon proofs verify
Browse files Browse the repository at this point in the history
  • Loading branch information
aalda committed Mar 8, 2019
1 parent d172e13 commit 7466657
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion balloon/balloon.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ func (p MembershipProof) DigestVerify(digest hashing.Digest, snapshot *Snapshot)
hyperCorrect := p.HyperProof.Verify(digest, snapshot.HyperDigest)

if p.Exists {
if p.QueryVersion <= p.ActualVersion {
if p.ActualVersion <= p.QueryVersion {
historyCorrect := p.HistoryProof.Verify(digest, snapshot.HistoryDigest)
return hyperCorrect && historyCorrect
}
Expand Down

0 comments on commit 7466657

Please sign in to comment.