send: set pay to many output limit to 15

This commit is contained in:
tobtoht
2024-05-03 21:32:26 +02:00
parent 69977e38b2
commit 5ba53a3702
3 changed files with 6 additions and 4 deletions
+2 -2
View File
@@ -183,8 +183,8 @@ void SendWidget::sendClicked() {
QString description = ui->lineDescription->text();
if (!outputs.empty()) { // multi destination transaction
if (outputs.size() > 16) {
Utils::showError(this, "Unable to create transaction", "Maximum number of outputs (16) exceeded.", {}, "pay_to_many");
if (outputs.size() > 15) {
Utils::showError(this, "Unable to create transaction", "Maximum number of outputs (15) exceeded.", {}, "pay_to_many");
return;
}