diff options
author | Nano Akron <nanoakron@users.noreply.github.com> | 2017-05-09 16:02:57 +0100 |
---|---|---|
committer | Nano Akron <nanoakron@users.noreply.github.com> | 2017-05-09 16:02:57 +0100 |
commit | e2529347b6be707aab2a30f4ba09e2218c562aba (patch) | |
tree | 00bfb3aa03c76297b963fd9ad910285f0181bc4d /src | |
parent | Remove the 1.25x multiplier in max transaction size in just the wallet (diff) | |
download | monero-e2529347b6be707aab2a30f4ba09e2218c562aba.tar.xz |
Correct spelling of 'get_upper_transaction_size_limit'
Diffstat (limited to 'src')
-rw-r--r-- | src/wallet/wallet2.cpp | 2 | ||||
-rw-r--r-- | src/wallet/wallet2.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index 9220b10b2..8c262b094 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -3788,7 +3788,7 @@ void wallet2::transfer_selected(const std::vector<cryptonote::tx_destination_ent // throw if attempting a transaction with no destinations THROW_WALLET_EXCEPTION_IF(dsts.empty(), error::zero_destination); - uint64_t upper_transaction_size_limit = get_upper_tranaction_size_limit(); + uint64_t upper_transaction_size_limit = get_upper_transaction_size_limit(); uint64_t needed_money = fee; LOG_PRINT_L2("transfer: starting with fee " << print_money (needed_money)); diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h index 03c6a431b..bde233b33 100644 --- a/src/wallet/wallet2.h +++ b/src/wallet/wallet2.h @@ -635,7 +635,7 @@ namespace tools crypto::hash8 get_short_payment_id(const pending_tx &ptx) const; void check_acc_out_precomp(const crypto::public_key &spend_public_key, const cryptonote::tx_out &o, const crypto::key_derivation &derivation, size_t i, bool &received, uint64_t &money_transfered, bool &error) const; void parse_block_round(const cryptonote::blobdata &blob, cryptonote::block &bl, crypto::hash &bl_id, bool &error) const; - uint64_t get_upper_tranaction_size_limit(); + uint64_t get_upper_transaction_size_limit(); std::vector<uint64_t> get_unspent_amounts_vector(); uint64_t get_fee_multiplier(uint32_t priority, int fee_algorithm) const; uint64_t get_dynamic_per_kb_fee_estimate(); @@ -1022,7 +1022,7 @@ namespace tools // throw if attempting a transaction with no destinations THROW_WALLET_EXCEPTION_IF(dsts.empty(), error::zero_destination); - uint64_t upper_transaction_size_limit = get_upper_tranaction_size_limit(); + uint64_t upper_transaction_size_limit = get_upper_transaction_size_limit(); uint64_t needed_money = fee; // calculate total amount being sent to all destinations |