From 6bcd3b2df170dc3d99bd3b3aa84dae188b1faf0b Mon Sep 17 00:00:00 2001 From: schnerchi Date: Wed, 31 May 2017 12:26:42 +0200 Subject: [PATCH] fix get_upper_transaction rename --- src/wallet/wallet2.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index bd6bcb01..f5650677 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -3930,7 +3930,7 @@ void wallet2::transfer_selected_rct(std::vector wallet2::create_transactions_2(std::vector txes; bool adding_fee; // true if new outputs go towards fee, rather than destinations uint64_t needed_fee, available_for_fee = 0; - uint64_t upper_transaction_size_limit = get_upper_tranaction_size_limit(); + uint64_t upper_transaction_size_limit = get_upper_transaction_size_limit(); const bool use_rct = use_fork_rules(4, 0); const uint64_t fee_per_kb = get_per_kb_fee(); @@ -4621,7 +4621,7 @@ std::vector wallet2::create_transactions_from(const crypton }; std::vector txes; uint64_t needed_fee, available_for_fee = 0; - uint64_t upper_transaction_size_limit = get_upper_tranaction_size_limit(); + uint64_t upper_transaction_size_limit = get_upper_transaction_size_limit(); std::vector> outs; const bool use_rct = fake_outs_count > 0 && use_fork_rules(4, 0); @@ -4779,7 +4779,7 @@ bool wallet2::use_fork_rules(uint8_t version, int64_t early_blocks) return close_enough; } //---------------------------------------------------------------------------------------------------- -uint64_t wallet2::get_upper_tranaction_size_limit() +uint64_t wallet2::get_upper_transaction_size_limit() { if (m_upper_transaction_size_limit > 0) return m_upper_transaction_size_limit;