mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-08-04 22:14:48 +02:00
Bugfix: GUI: Display error messagebox (rather than stderr) when external signer fails inexplicably
This commit is contained in:
parent
bbbf89a9de
commit
f4fe307b84
@ -466,8 +466,9 @@ bool SendCoinsDialog::signWithExternalSigner(PartiallySignedTransaction& psbtx,
|
||||
return false;
|
||||
}
|
||||
if (err != TransactionError::OK) {
|
||||
tfm::format(std::cerr, "Failed to sign PSBT");
|
||||
processSendCoinsReturn(WalletModel::TransactionCreationFailed);
|
||||
const QString msg = tr("Failed to sign PSBT");
|
||||
QMessageBox::critical(nullptr, msg, msg);
|
||||
return false;
|
||||
}
|
||||
// fillPSBT does not always properly finalize
|
||||
|
Loading…
Reference in New Issue
Block a user