HelixNetwork / pendulum

Pendulum is a distributed messaging protocol that enables globally available tamper proof timestamps :hourglass_flowing_sand:
https://dev.hlx.ai
Other
10 stars 6 forks source link

Fix issues in confirmation #205

Closed cristina-vasiu closed 4 years ago

cristina-vasiu commented 4 years ago

There are 2 fixes in this MR:

  1. candidateTracker.getValidatorsOfRound returns list of TransactionHash instead of AddressHash, because of this not all validators addresses are recognized as validator.
  2. Add a seen list in RoundViewModel.getReferencedTransaction so that we don't processed twice the same transaction, in some cases it could run in a infinite loop.