EOS-Nation/eosvotes-tally

Order of incoming vote (async)

Closed this issue · 1 comments

Fix ordering of incoming vote, lock with async:

  • vote
  • update voter_info
  • update tally (happens before voter_info)
Sat, 20 Oct 2018 05:02:02 GMT	log	listener::eosforumrcpp::vote	tallytest
Sat, 20 Oct 2018 05:02:02 GMT	log	updaters::updateTally	update completed [state.tallies]
Sat, 20 Oct 2018 05:02:02 GMT	error	updaters::updateTally	[gi2dknrygege] voter does not exist in [state.voters]
Sat, 20 Oct 2018 05:02:03 GMT	log	updaters::updateVoter	updated voter_info for [gi2dknrygege]
Sat, 20 Oct 2018 05:02:03 GMT	log	updaters::updateTally	update completed [state.tallies]

Should be fixed via 3addc41