Skip to content

Commit a3eec5c

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

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎src/qt/sendcoinsdialog.cpp‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,8 +465,9 @@ bool SendCoinsDialog::signWithExternalSigner(PartiallySignedTransaction& psbtx,
465465
return false;
466466
}
467467
if (err) {
468-
qWarning() << "Failed to sign PSBT";
469468
processSendCoinsReturn(WalletModel::TransactionCreationFailed);
469+
const QString msg = tr("Failed to sign PSBT");
470+
QMessageBox::critical(nullptr, msg, msg);
470471
return false;
471472
}
472473
// fillPSBT does not always properly finalize

0 commit comments

Comments
 (0)