How can I vote against a delegate?
I tried to set the trust_level less then zero to delegate-4
wallet_set_delegate_trust_level delegate-4 -5
and make the transfer command
wallet_transfer 100000 XTS spartako-1 spartako-1
but I obtain this error:
amount_to_transfer: 100000
asset_symbol: XTS
from_account_name: spartako-1
to_account_name: spartako-1
assert
!error_code: Error evaluating transaction BTS_INVALID_NAME_ID
{"error_code":"BTS_INVALID_NAME_ID","data":{"amount":5225880,"condition":{"asset_id":0,"delegate_id":-5,"type":"withdraw_by_account_type","data":{"one_time_key":"XTS88r6kmv39RirUR6nnohAgG9Xx9hA7WaTcTQxqdGXkK
Rg2g6uJL","encrypted_memo_data":"c6391ece215179633793b85b6e6fb52c898d7973797eb9bf8c013b40e5aaad89554ac99fdf57b27afd62c0db764ff1aec26c8718a21d621e6ee9eb159dc544cd","owner":"XTSATTi7pFCzMxeh71hTuPcK9o2aN3rCsJTP"}}
}}
th_a transaction.cpp:427 fail
{"op":{"amount":5225880,"condition":{"asset_id":0,"delegate_id":-5,"type":"withdraw_by_account_type","data":{"one_time_key":"XTS88r6kmv39RirUR6nnohAgG9Xx9hA7WaTcTQxqdGXkKRg2g6uJL","encrypted_memo_data":"c639
1ece215179633793b85b6e6fb52c898d7973797eb9bf8c013b40e5aaad89554ac99fdf57b27afd62c0db764ff1aec26c8718a21d621e6ee9eb159dc544cd","owner":"XTSATTi7pFCzMxeh71hTuPcK9o2aN3rCsJTP"}}}}
th_a transaction.cpp:455 evaluate_deposit
{"trx":{"expiration":null,"delegate_id":null,"operations":[{"type":"withdraw_op_type","data":{"balance_id":"XTS3dZr8LJUBhJiCmPG71ZgAQdZKiaSBdexr","amount":5335880,"claim_input_data":""}},{"type":"deposit_op_
type","data":{"amount":5225880,"condition":{"asset_id":0,"delegate_id":-5,"type":"withdraw_by_account_type","data":{"one_time_key":"XTS88r6kmv39RirUR6nnohAgG9Xx9hA7WaTcTQxqdGXkKRg2g6uJL","encrypted_memo_data":"c
6391ece215179633793b85b6e6fb52c898d7973797eb9bf8c013b40e5aaad89554ac99fdf57b27afd62c0db764ff1aec26c8718a21d621e6ee9eb159dc544cd","owner":"XTSATTi7pFCzMxeh71hTuPcK9o2aN3rCsJTP"}}}},{"type":"deposit_op_type","data
":{"amount":100000,"condition":{"asset_id":0,"delegate_id":-5,"type":"withdraw_by_account_type","data":{"one_time_key":"XTS51BP5SVVLicVqxKmc1hUdVvyq3kmy3z78UWXsibuf2rRftV4FG","encrypted_memo_data":"93407eb874629
c8425ddbb8533fc32d9c17032a59868d429e12ad51b48f07ebe1e2645121c45c8468a878796ede412893d0644bf1cdb34e11e47f31ce1b5ea5b","owner":"XTS6JUUB2RbDXyvQDtZoXiQdWEu27VC12i2T"}}}}],"signatures":["1f130332387d6565dc2abea4ff2
97bcbd2d3832fed4d971c28e78c32990e81941e3e512cc77faa3f8a0f73c1995737a9a14266839602a2b4546ec73f85dac2f04c"]}}
th_a transaction.cpp:89 evaluate
{"trx":{"expiration":null,"delegate_id":null,"operations":[{"type":"withdraw_op_type","data":{"balance_id":"XTS3dZr8LJUBhJiCmPG71ZgAQdZKiaSBdexr","amount":5335880,"claim_input_data":""}},{"type":"deposit_op_
type","data":{"amount":5225880,"condition":{"asset_id":0,"delegate_id":-5,"type":"withdraw_by_account_type","data":{"one_time_key":"XTS88r6kmv39RirUR6nnohAgG9Xx9hA7WaTcTQxqdGXkKRg2g6uJL","encrypted_memo_data":"c
6391ece215179633793b85b6e6fb52c898d7973797eb9bf8c013b40e5aaad89554ac99fdf57b27afd62c0db764ff1aec26c8718a21d621e6ee9eb159dc544cd","owner":"XTSATTi7pFCzMxeh71hTuPcK9o2aN3rCsJTP"}}}},{"type":"deposit_op_type","data
":{"amount":100000,"condition":{"asset_id":0,"delegate_id":-5,"type":"withdraw_by_account_type","data":{"one_time_key":"XTS51BP5SVVLicVqxKmc1hUdVvyq3kmy3z78UWXsibuf2rRftV4FG","encrypted_memo_data":"93407eb874629
c8425ddbb8533fc32d9c17032a59868d429e12ad51b48f07ebe1e2645121c45c8468a878796ede412893d0644bf1cdb34e11e47f31ce1b5ea5b","owner":"XTS6JUUB2RbDXyvQDtZoXiQdWEu27VC12i2T"}}}}],"signatures":["1f130332387d6565dc2abea4ff2
97bcbd2d3832fed4d971c28e78c32990e81941e3e512cc77faa3f8a0f73c1995737a9a14266839602a2b4546ec73f85dac2f04c"]}}
th_a chain_database.cpp:872 evaluate_transaction
{"trx":{"expiration":null,"delegate_id":null,"operations":[{"type":"withdraw_op_type","data":{"balance_id":"XTS3dZr8LJUBhJiCmPG71ZgAQdZKiaSBdexr","amount":5335880,"claim_input_data":""}},{"type":"deposit_op_
type","data":{"amount":5225880,"condition":{"asset_id":0,"delegate_id":-5,"type":"withdraw_by_account_type","data":{"one_time_key":"XTS88r6kmv39RirUR6nnohAgG9Xx9hA7WaTcTQxqdGXkKRg2g6uJL","encrypted_memo_data":"c
6391ece215179633793b85b6e6fb52c898d7973797eb9bf8c013b40e5aaad89554ac99fdf57b27afd62c0db764ff1aec26c8718a21d621e6ee9eb159dc544cd","owner":"XTSATTi7pFCzMxeh71hTuPcK9o2aN3rCsJTP"}}}},{"type":"deposit_op_type","data
":{"amount":100000,"condition":{"asset_id":0,"delegate_id":-5,"type":"withdraw_by_account_type","data":{"one_time_key":"XTS51BP5SVVLicVqxKmc1hUdVvyq3kmy3z78UWXsibuf2rRftV4FG","encrypted_memo_data":"93407eb874629
c8425ddbb8533fc32d9c17032a59868d429e12ad51b48f07ebe1e2645121c45c8468a878796ede412893d0644bf1cdb34e11e47f31ce1b5ea5b","owner":"XTS6JUUB2RbDXyvQDtZoXiQdWEu27VC12i2T"}}}}],"signatures":["1f130332387d6565dc2abea4ff2
97bcbd2d3832fed4d971c28e78c32990e81941e3e512cc77faa3f8a0f73c1995737a9a14266839602a2b4546ec73f85dac2f04c"]}}
th_a chain_database.cpp:1141 store_pending_transaction
{}
th_a common_api_client.cpp:332 wallet_transfer
{"command":"wallet_transfer"}
th_a cli.cpp:570 execute_command
and I have this transaction pending:
# BLK.TRX TIMESTAMP FROM TO MEMO AMOUNT FEE VOTE ID
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
8 pending 2014-06-05T14:46:59 spartako-1 spartako-1 vote against -100,000 XTS 10,000 XTS N/A 58190998e6cfb4375f383450f90143fd158b106c
If I restore the trust level to 0 for delegate-4 I am able again to make transactions without errors.