Are we talking about the woodygar-1 account?
I can see it has 1 year membership but no cashback-vesting-balance object attached. Not sure if that's how it's supposed to be.
get_account woodygar-1
{
"id": "1.2.93566",
"membership_expiration_date": "2017-01-23T12:18:24",
"registrar": "1.2.90713",
"referrer": "1.2.93566",
"lifetime_referrer": "1.2.90713",
"network_fee_percentage": 2000,
"lifetime_referrer_fee_percentage": 3000,
"referrer_rewards_percentage": 0,
"name": "woodygar-1",
"owner": { ... },
"active": { ... },
"options": { ... },
"statistics": "2.6.93566",
"whitelisting_accounts": [],
"blacklisting_accounts": [],
"blacklisted_accounts": []
}
The statistics object doesn't show any pending fees although it seems you're quite active. Strange. I was probably looking at the wrong moment.
Hm, looking at the code it seems that your referrer_rewards_percentage is the problem. The network gets 20% of your fees, the lifetime referrer gets 30% and the remaining 50% is split between you and the registrar according to the referrer_rewards_percentage.
This might be a bug. @bytemaster ?
Imo the design/implementation of annual membership is probably wrong.
Assume account A is registered by account B (the registrar), and referred by account C (the referrer).
Before A upgraded to annual member, when A pays a fee, it splits for example as 20% network + 25% registrar + 55% referrer.
After A upgraded to annual member, when A pays a fee, it should split as 20% network + 50% A + (1-20%-50%)*25%/(1-20%)=9.375% registrar + (1-20%-50%)*55%/(1-20%)=20.625% referrer.
I remember in the code there are "lifetime referrer", "registrar", "referrer", imo they should all be different in this scenario. Imo "lifetime referrer" should be A, and "registrar" and "referrer" should be whatever unchanged.
Will re-read the code when have time.