mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-08-04 14:04:49 +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;
|
return false;
|
||||||
}
|
}
|
||||||
if (err != TransactionError::OK) {
|
if (err != TransactionError::OK) {
|
||||||
tfm::format(std::cerr, "Failed to sign PSBT");
|
|
||||||
processSendCoinsReturn(WalletModel::TransactionCreationFailed);
|
processSendCoinsReturn(WalletModel::TransactionCreationFailed);
|
||||||
|
const QString msg = tr("Failed to sign PSBT");
|
||||||
|
QMessageBox::critical(nullptr, msg, msg);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
// fillPSBT does not always properly finalize
|
// fillPSBT does not always properly finalize
|
||||||
|
Loading…
Reference in New Issue
Block a user