mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-26 09:24:47 +00:00
wallet2_api: zero amounts are now allowed with rct
This commit is contained in:
parent
096ac06521
commit
83ab3151e8
1 changed files with 0 additions and 6 deletions
|
@ -489,12 +489,6 @@ PendingTransaction *WalletImpl::createTransaction(const string &dst_addr, const
|
||||||
}
|
}
|
||||||
|
|
||||||
de.amount = amount;
|
de.amount = amount;
|
||||||
if (de.amount <= 0) {
|
|
||||||
m_status = Status_Error;
|
|
||||||
m_errorString = "Invalid amount";
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
dsts.push_back(de);
|
dsts.push_back(de);
|
||||||
//std::vector<tools::wallet2::pending_tx> ptx_vector;
|
//std::vector<tools::wallet2::pending_tx> ptx_vector;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue