removed address parameter

This commit is contained in:
Sean Darcy 2020-11-21 01:38:39 +00:00
parent 77424b0edf
commit 7dd8ff6b9c
2 changed files with 2 additions and 2 deletions

View File

@ -8163,7 +8163,7 @@ wallet2::stake_result wallet2::check_stake_allowed(const crypto::public_key& sn_
return result;
}
wallet2::stake_result wallet2::create_stake_tx(const crypto::public_key& service_node_key, const cryptonote::address_parse_info& addr_info, uint64_t amount, double amount_fraction, uint32_t priority, uint32_t subaddr_account, std::set<uint32_t> subaddr_indices)
wallet2::stake_result wallet2::create_stake_tx(const crypto::public_key& service_node_key, uint64_t amount, double amount_fraction, uint32_t priority, uint32_t subaddr_account, std::set<uint32_t> subaddr_indices)
{
wallet2::stake_result result = {};
result.status = wallet2::stake_result_status::invalid;

View File

@ -1319,7 +1319,7 @@ private:
/// Modifies the `amount` to maximum possible if too large, but rejects if insufficient.
/// `fraction` is only used to determine the amount if specified zero.
stake_result check_stake_allowed(const crypto::public_key& sn_key, const cryptonote::address_parse_info& addr_info, uint64_t& amount, double fraction = 0);
stake_result create_stake_tx (const crypto::public_key& service_node_key, const cryptonote::address_parse_info& addr_info, uint64_t amount,
stake_result create_stake_tx (const crypto::public_key& service_node_key, uint64_t amount,
double amount_fraction = 0, uint32_t priority = 0, uint32_t subaddr_account = 0, std::set<uint32_t> subaddr_indices = {});
enum struct register_service_node_result_status
{