papacarp / pooltool.io

A public repo to keep track of issues and feature requests in pooltool
76 stars 75 forks source link

poolPledge checkmark not correct for multi-owners. #81

Closed steakandbake closed 4 years ago

steakandbake commented 4 years ago

Hi @papacarp

It seems the newly added poolPledge green checkmark feature is not assigned correctly to pools who added new owners.

Example: https://pooltool.io/pool/f76e3a1104a9d816a67d5826a155c9e2979a839d0d944346d47e33ab/delegators

Sum of 3 owner's delegation amount is greater than poolPledge.

I suspect this was caused when additional owners were registered to the pool. Perhaps the new owner's balances are not counting towards the pledge calculation.

Thanks for the great ADA resource.

steakandbake commented 4 years ago

Found a work around. Calculation appears to be made on the initial pool registration's pledge amount and owner accounts. Moved some funds around. Checkmark back.