Skip to content

Commit edd4656

Browse files
committed
qt: Replace stray tfm::format to cerr with qWarning
GUI warnings should go to the log, not to the console (which may not be connected at all).
1 parent 458720e commit edd4656

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)