From 83ab3151e877882286afa071046d8b56dd495938 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Sun, 17 Jul 2016 10:02:20 +0100 Subject: wallet2_api: zero amounts are now allowed with rct --- src/wallet/api/wallet.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/wallet') 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 ptx_vector; -- cgit v1.2.3