diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-07-17 10:02:20 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-08-28 21:29:41 +0100 |
commit | 83ab3151e877882286afa071046d8b56dd495938 (patch) | |
tree | f02c5bf393686fd555511bf92c7926d47e1e1ff3 /src | |
parent | wallet2_api: update on_money_{received,spent} prototypes for rct changes (diff) | |
download | monero-83ab3151e877882286afa071046d8b56dd495938.tar.xz |
wallet2_api: zero amounts are now allowed with rct
Diffstat (limited to 'src')
-rw-r--r-- | src/wallet/api/wallet.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/wallet/api/wallet.cpp b/src/wallet/api/wallet.cpp index 71d740ff7..f8704fde3 100644 --- a/src/wallet/api/wallet.cpp +++ b/src/wallet/api/wallet.cpp @@ -489,12 +489,6 @@ PendingTransaction *WalletImpl::createTransaction(const string &dst_addr, const } de.amount = amount; - if (de.amount <= 0) { - m_status = Status_Error; - m_errorString = "Invalid amount"; - break; - } - dsts.push_back(de); //std::vector<tools::wallet2::pending_tx> ptx_vector; |