cryptonomex / graphene

MIT License
1.05k stars 336 forks source link

Can't vote ... `against_worker_idx.find( id ) == against_worker_idx.end()` #638

Closed jcalfee closed 8 years ago

jcalfee commented 8 years ago

Just tried to update votes at https://bitshares.openledger.info/#/account/xxx/voting

This showed up after "Confirm" in the transaction dialog:

against_worker_idx.find( id ) == against_worker_idx.end()

In the console:

Error: 10 assert_exception: Assert Exception
against_worker_idx.find( id ) == against_worker_idx.end(): 
    {}
    th_a  account_evaluator.cpp:87 verify_account_votes

    {"o":{"fee":{"amount":33938,"asset_id":"1.3.0"},"account":"1.2.21712","owner":{"weight_threshold":1,"account_auths":[],"key_auths":[["BTS59oNAVTaDR3Tr5U3BrkVifMwn9KDQs9P9tA4sHZzJFkbS2yUA4",1]],"address_auths":[]},"active":{"weight_threshold":1,"account_auths":[],"key_auths":[["BTS59oNAVTaDR3Tr5U3BrkVifMwn9KDQs9P9tA4sHZzJFkbS2yUA4",1]],"address_auths":[]},"new_options":{"memo_key":"BTS59oNAVTaDR3Tr5U3BrkVifMwn9KDQs9P9tA4sHZzJFkbS2yUA4","voting_account":"1.2.5","num_witness":0,"num_committee":0,"votes":["2:92","2:115","2:117","2:119","2:130","2:132","2:137","2:139","2:148","2:150","2:152","2:154","2:156"],"extensions":[]},"extensions":{}}}
    th_a  account_evaluator.cpp:274 do_evaluate

    {}
    th_a  evaluator.cpp:51 start_evaluate
pmconrad commented 8 years ago

You're trying to vote against someone which isn't allowed/possible anymore.

theoreticalbts commented 8 years ago

This behavior is by design. You can't vote against workers any more #607

jcalfee commented 8 years ago

I did not know I was trying to do that! Thanks... lol...