mirror of
https://github.com/wownero/wownero-cpp.git
synced 2026-10-18 07:41:32 +02:00
handle validation error in send_split
This commit is contained in:
@@ -1892,7 +1892,7 @@ namespace monero {
|
||||
std::vector<uint8_t> extra;
|
||||
epee::json_rpc::error err;
|
||||
if (!validate_transfer(m_w2.get(), tr_destinations, payment_id, dsts, extra, true, err)) {
|
||||
throw runtime_error("Need to handle send_split() validate_transfer error"); // TODO
|
||||
throw runtime_error(err.message);
|
||||
}
|
||||
|
||||
// prepare parameters for wallet2's create_transactions_2()
|
||||
|
||||
Reference in New Issue
Block a user