diff options
author | tom <tewinget@gmail.com> | 2014-06-16 21:52:06 -0400 |
---|---|---|
committer | Thomas Winget <tewinget@gmail.com> | 2014-06-30 07:16:50 -0400 |
commit | 62109840d68d6eb439a4861bf38c64d6a857deb8 (patch) | |
tree | 9b0ff721ff50c26a664ada595e1679c6a0a5803c /src/wallet/wallet2.h | |
parent | Added confirmation prompt if transactions are to be split (diff) | |
download | monero-62109840d68d6eb439a4861bf38c64d6a857deb8.tar.xz |
Transaction splitting *seems* to be working!!!
Diffstat (limited to '')
-rw-r--r-- | src/wallet/wallet2.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h index e8b9ec46e..3cdfaa849 100644 --- a/src/wallet/wallet2.h +++ b/src/wallet/wallet2.h @@ -23,6 +23,7 @@ #include "wallet_errors.h" +#include <iostream> #define DEFAULT_TX_SPENDABLE_AGE 10 #define WALLET_RCP_CONNECTION_TIMEOUT 200000 @@ -329,6 +330,8 @@ namespace tools THROW_WALLET_EXCEPTION_IF(needed_money < dt.amount, error::tx_sum_overflow, dsts, fee); } + std::cout << "Attempting to create transaction, needed money = " << needed_money << std::endl; + // randomly select inputs for transaction // throw if requested send amount is greater than amount available to send std::list<transfer_container::iterator> selected_transfers; |