Skip to content

Commit de90b47

Browse files
committed
Merge #868: Replace stray tfm::format to cerr with qWarning
edd4656 qt: Replace stray tfm::format to cerr with qWarning (laanwj) Pull request description: GUI warnings should go to the log, not to the console (which may not be connected at all). ACKs for top commit: hebasto: ACK edd4656, I have reviewed the code and it looks OK. Tree-SHA512: 32944e00dae0c62bb23e3d7abd486b63e445702483ca03c74c3057ef942f06e771d4d3d3a58fd728582889d6b638fae11ecc536a25febfd89a28522b7d6d08ba
2 parents 80e6ad9 + edd4656 commit de90b47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/qt/sendcoinsdialog.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ bool SendCoinsDialog::signWithExternalSigner(PartiallySignedTransaction& psbtx,
468468
return false;
469469
}
470470
if (err) {
471-
tfm::format(std::cerr, "Failed to sign PSBT");
471+
qWarning() << "Failed to sign PSBT";
472472
processSendCoinsReturn(WalletModel::TransactionCreationFailed);
473473
return false;
474474
}

0 commit comments

Comments
 (0)