fixes bitcoin lib with ability to count votecoins for a candidate