BitShares Forum

Main => Technical Support => Topic started by: svk on August 07, 2014, 11:35:06 pm

Title: [RESOLVED] Delegate votes not adding up
Post by: svk on August 07, 2014, 11:35:06 pm
I'm trying to add delegate votes history to my website, but I can't make the net votes add up to the total listed for each delegate. As an example with not too many voting transactions, take the delegate aptly named "delegate":

http://bitsharesblocks.com/#/delegate/delegate

If you copy all those votes into a spreadsheet and add them up, you'll see that the total is 336605.78, not 396733 as reported by "blockchain_list_delegates". The votes listed on my website come from all the transactions that voted for that delegate. Toast told me that the unspent delegate pay also automatically votes for it's owner, but the delegate from my example never produced any blocks so I'm missing something else.

Does anyone know what I could be missing? Anyone able to verify the voting history for that delegate to see if there are transactions missing from my count?

Cheers,
svk
Title: Re: Delegate votes not adding up
Post by: xeroc on August 08, 2014, 11:11:33 am
maybe your own delegate_pay is added automatically . ? have you checked that amount?
Title: Re: Delegate votes not adding up
Post by: svk on August 11, 2014, 02:49:05 pm
Think I got it sorted out, turns out I wasn't correctly registering votes from blocks with multiple transactions.