Skip to content

Commit f4fe307

Browse files
committed
Bugfix: GUI: Display error messagebox (rather than stderr) when external signer fails inexplicably
1 parent bbbf89a commit f4fe307

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/qt/sendcoinsdialog.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -466,8 +466,9 @@ bool SendCoinsDialog::signWithExternalSigner(PartiallySignedTransaction& psbtx,
466466
return false;
467467
}
468468
if (err != TransactionError::OK) {
469-
tfm::format(std::cerr, "Failed to sign PSBT");
470469
processSendCoinsReturn(WalletModel::TransactionCreationFailed);
470+
const QString msg = tr("Failed to sign PSBT");
471+
QMessageBox::critical(nullptr, msg, msg);
471472
return false;
472473
}
473474
// fillPSBT does not always properly finalize

0 commit comments

Comments
 (0)