aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-07-17 10:02:20 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-08-28 21:29:41 +0100
commit83ab3151e877882286afa071046d8b56dd495938 (patch)
treef02c5bf393686fd555511bf92c7926d47e1e1ff3 /src
parentwallet2_api: update on_money_{received,spent} prototypes for rct changes (diff)
downloadmonero-83ab3151e877882286afa071046d8b56dd495938.tar.xz
wallet2_api: zero amounts are now allowed with rct
Diffstat (limited to 'src')
-rw-r--r--src/wallet/api/wallet.cpp6
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;