jurteam / platform

Jur Beta Platform
https://beta.jur.io
0 stars 0 forks source link

FIX A new oath keeper's first oath is not included while calculating the stats #376

Closed tyagishuchi1 closed 4 years ago

tyagishuchi1 commented 4 years ago

When a new wallet takes the first oath, it's entry gets created in the list of oath keepers but it does not update the stats. image

In the above screenshot 0xE20a4038F05AecFa4Ab6b7D13Ec96057E0771f8F is a new oath keeper. But the stats only show for 2 previous users.

image

When 0xE20a4038F05AecFa4Ab6b7D13Ec96057E0771f8F takes a second oath, then it's stats are updated.

Expected Behavior

Stats should update with every new oath.

Steps to Reproduce

Environment: test.jur.io

  1. Make a record of the oath stats
  2. Create a new wallet and take an oath
  3. Check if the stats update
tyagishuchi1 commented 4 years ago

This happens because of a delayed job. Data looks inconsistent because of the huge delay.