aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2.cpp
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2015-10-26 17:57:29 +0200
committerRiccardo Spagni <ric@spagni.net>2015-10-26 17:57:56 +0200
commite1c29c94ad6d42ceb2ce3516048fbfd272738b47 (patch)
tree63687d9d22b403d8b34cef3f2534bbf3b8e84023 /src/wallet/wallet2.cpp
parentMerge pull request #442 (diff)
parentFix leak on real output when using a very recent output (diff)
downloadmonero-e1c29c94ad6d42ceb2ce3516048fbfd272738b47.tar.xz
Merge pull request #444
ecbb732 Fix leak on real output when using a very recent output (moneromooo-monero)
Diffstat (limited to 'src/wallet/wallet2.cpp')
-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 cca409d9a..92777d16b 100644
--- a/src/wallet/wallet2.cpp
+++ b/src/wallet/wallet2.cpp
@@ -1073,7 +1073,7 @@ bool wallet2::is_transfer_unlocked(const transfer_details& td) const
if(!is_tx_spendtime_unlocked(td.m_tx.unlock_time))
return false;
- if(td.m_block_height + DEFAULT_TX_SPENDABLE_AGE > m_blockchain.size())
+ if(td.m_block_height + CRYPTONOTE_DEFAULT_TX_SPENDABLE_AGE > m_blockchain.size())
return false;
return true;