dakk / tezpool

Tezos baking redistribution software
https://dakk.github.io/tezpool/
MIT License
23 stars 6 forks source link

Problem with 51 cycle #10

Open grshabl opened 5 years ago

grshabl commented 5 years ago

Hi, please check your code, for 51 cycle your system pay wrong count of Tezos.

we have checked the code of tezpool, and they don't use the snapshotted block for the cycle 51 (there is a line commented at the start of the getCycleSnapshot function), they use the last block of the cycle. And unfortunately the snapshotted block was at the start of this cycle. The dilution of the delegate staking balance during this cycle explains the difference between the numbers.

dakk commented 5 years ago

Can you provide a fix on the code as a pull request?

grshabl commented 5 years ago

Unfortunately, no

grshabl commented 5 years ago

@dakk What about fix ? This problem will be in the future too