From 5ba53a3702c07763eb0e91b82622d6f949065704 Mon Sep 17 00:00:00 2001 From: tobtoht Date: Fri, 3 May 2024 21:32:26 +0200 Subject: [PATCH] send: set pay to many output limit to 15 --- external/feather-docs | 2 +- src/MainWindow.cpp | 4 +++- src/SendWidget.cpp | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/external/feather-docs b/external/feather-docs index a02c5ff..9abafde 160000 --- a/external/feather-docs +++ b/external/feather-docs @@ -1 +1 @@ -Subproject commit a02c5ffededb0e021183b965aa8eb1e20f11e6d4 +Subproject commit 9abafde37423c204401a2322d152e8b3cc5d267a diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index 7000fb5..9c8814d 100644 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp @@ -823,7 +823,9 @@ void MainWindow::onTransactionCreated(PendingTransaction *tx, const QVectorlineDescription->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; }