send: improve split tx error message

This commit is contained in:
tobtoht 2024-09-29 14:38:42 +02:00
parent cbbc9526a5
commit ef8db19c94
No known key found for this signature in database
GPG key ID: E45B10DD027D2472

View file

@ -910,7 +910,7 @@ void MainWindow::onTransactionCreated(PendingTransaction *tx, const QVector<QStr
return; return;
} }
else if (tx->txCount() > 1) { else if (tx->txCount() > 1) {
Utils::showError(this, "Failed to construct transaction", "Split transactions are not supported", {"Try sending a smaller amount."}); Utils::showError(this, "Failed to construct transaction", "Transaction tries to spend too many inputs", {"Send a smaller amount of XMR to yourself first."});
m_wallet->disposeTransaction(tx); m_wallet->disposeTransaction(tx);
return; return;
} }