I found that account voting weight algorithm have a small problem, The correct
voting weight algorithm should be in_orders + cashback_vb + balance.
see code in db_maint.cpp
751 uint64_t voting_stake = stats.total_core_in_orders.value
752 + (stake_account.cashback_vb.valid() ? (*stake_account.cashback_vb)(d).balance.amount.value: 0)
753 + d.get_balance(stake_account.get_id(), asset_id_type()).amount.value;
eg:
witness betaxtrade votes is 40924676.the voters are Harvey, abit, hellobts.
In cryptofresh, amount of three account voting weight is 22443346 + 10292041 + 8145731 = 40,881,118, it is a lot smaller than 40924676 .
calculated by the algorithm above ( in_orders + cashback_vb + balance). 22445269 + 10333043 + 8146091 = 40924403, this number is closer to betaxtrade's real votes "40924676".
So I estimate that algorithm of votes of cryptofresh is lack of cashback_vb.
Hope this problem will be corrected.