wallet2_api: zero amounts are now allowed with rct

This commit is contained in:
moneromooo-monero 2016-07-17 10:02:20 +01:00
parent 096ac06521
commit 83ab3151e8
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3
1 changed files with 0 additions and 6 deletions

View File

@ -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;