Low diff shares  bug has been not fixed for Stratum version 2.
https://github.com/oliverw/miningcore/issues/1062
This bug has been fixed for Stratum version 1. 
However, for stratum version 2, the error persists.
It does not occur immediately. 
Here is a screenshot after 79 shares with t-rex 0.24.8

Stratum V2
![stratum2](https://user-images.githubusercontent.com/5347595/151747283-b3ea718a-6ee1-4ff4-9c12-c433d4078d74.jpg)

Stratum V1
![stratum1](https://user-images.githubusercontent.com/5347595/151747483-3af337a1-ced1-4a15-881b-fc7ea06d5b90.jpg)

_Originally posted by @kr1z1s in https://github.com/oliverw/miningcore/issues/1062#issuecomment-1025414726_