aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNano Akron <nanoakron@users.noreply.github.com>2017-05-09 16:01:11 +0100
committerNano Akron <nanoakron@users.noreply.github.com>2017-05-09 16:01:11 +0100
commit3029d0efb34b30b3ab8a139a7cb44f8014a55fab (patch)
tree6ad6f6c36f2ae418ce2d7507a4d8484bab8e3316 /src
parentMerge pull request #2015 (diff)
downloadmonero-3029d0efb34b30b3ab8a139a7cb44f8014a55fab.tar.xz
Remove the 1.25x multiplier in max transaction size in just the wallet
Diffstat (limited to '')
-rw-r--r--src/wallet/wallet2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp
index 9069789ca..9220b10b2 100644
--- a/src/wallet/wallet2.cpp
+++ b/src/wallet/wallet2.cpp
@@ -4781,7 +4781,7 @@ uint64_t wallet2::get_upper_tranaction_size_limit()
if (m_upper_transaction_size_limit > 0)
return m_upper_transaction_size_limit;
uint64_t full_reward_zone = use_fork_rules(5, 10) ? CRYPTONOTE_BLOCK_GRANTED_FULL_REWARD_ZONE_V5 : use_fork_rules(2, 10) ? CRYPTONOTE_BLOCK_GRANTED_FULL_REWARD_ZONE_V2 : CRYPTONOTE_BLOCK_GRANTED_FULL_REWARD_ZONE_V1;
- return ((full_reward_zone * 125) / 100) - CRYPTONOTE_COINBASE_BLOB_RESERVED_SIZE;
+ return full_reward_zone - CRYPTONOTE_COINBASE_BLOB_RESERVED_SIZE;
}
//----------------------------------------------------------------------------------------------------
std::vector<size_t> wallet2::select_available_outputs(const std::function<bool(const transfer_details &td)> &f)