mirror of
https://github.com/wownero/wownero-cpp.git
synced 2026-10-17 23:31:32 +02:00
revert to be consistent with rpc server
This commit is contained in:
@@ -1912,7 +1912,7 @@ namespace monero {
|
||||
|
||||
// prepare transactions
|
||||
vector<wallet2::pending_tx> ptx_vector = m_w2->create_transactions_2(dsts, mixin, unlock_time, priority, extra, account_index, subaddress_indices);
|
||||
if (ptx_vector.empty()) throw runtime_error("No transactions created");
|
||||
if (ptx_vector.empty()) throw runtime_error("No transaction created");
|
||||
|
||||
// check if request cannot be fulfilled due to splitting
|
||||
if (request.m_can_split != boost::none && request.m_can_split.get() == false && ptx_vector.size() != 1) {
|
||||
|
||||
Reference in New Issue
Block a user