diff --git a/libraries/wallet/include/graphene/wallet/wallet.hpp b/libraries/wallet/include/graphene/wallet/wallet.hpp index 58459615..d8d7330a 100644 --- a/libraries/wallet/include/graphene/wallet/wallet.hpp +++ b/libraries/wallet/include/graphene/wallet/wallet.hpp @@ -1459,7 +1459,7 @@ class wallet_api * @param broadcast true if you wish to broadcast the transaction * @return the signed transaction changing your vote for the given son_member */ - signed_transaction vote_for_son_member(string voting_account, + signed_transaction vote_for_son(string voting_account, string son_member, bool approve, bool broadcast = false); @@ -2089,7 +2089,7 @@ FC_API( graphene::wallet::wallet_api, (get_vesting_balances) (withdraw_vesting) (vote_for_committee_member) - (vote_for_son_member) + (vote_for_son) (update_son_votes) (vote_for_witness) (update_witness_votes) diff --git a/libraries/wallet/wallet.cpp b/libraries/wallet/wallet.cpp index fbb06eb3..bce5ec25 100644 --- a/libraries/wallet/wallet.cpp +++ b/libraries/wallet/wallet.cpp @@ -2171,7 +2171,7 @@ public: return sign_transaction( tx, broadcast ); } FC_CAPTURE_AND_RETHROW( (voting_account)(committee_member)(approve)(broadcast) ) } - signed_transaction vote_for_son_member(string voting_account, + signed_transaction vote_for_son(string voting_account, string son_member, bool approve, bool broadcast /* = false */) @@ -4297,12 +4297,12 @@ signed_transaction wallet_api::vote_for_committee_member(string voting_account, return my->vote_for_committee_member(voting_account, witness, approve, broadcast); } -signed_transaction wallet_api::vote_for_son_member(string voting_account, +signed_transaction wallet_api::vote_for_son(string voting_account, string son_member, bool approve, bool broadcast /* = false */) { - return my->vote_for_son_member(voting_account, son_member, approve, broadcast); + return my->vote_for_son(voting_account, son_member, approve, broadcast); } signed_transaction wallet_api::update_son_votes(string voting_account,