mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-19 13:27:35 +02:00
re-work -debug switch handling
- re-work -debug help message text - make -debug log every debugging information again (even all categories) - remove unneeded fDebug checks in front of LogPrint()/qDebug(), as that check is done in LogPrintf() when category is != NULL (true for all LogPrint() calls - remove fDebug ONLY in code which is NOT performance-critical - harmonize addrman category name - deprecate -debugnet usage, should be used via -debug=net and remove the corresponding global
This commit is contained in:
parent
42a12f22d6
commit
3b570559f8
7 changed files with 46 additions and 32 deletions
|
|
@ -75,8 +75,7 @@ bool PaymentRequestPlus::getMerchant(X509_STORE* certStore, QString& merchant) c
|
|||
digestAlgorithm = EVP_sha1();
|
||||
}
|
||||
else if (paymentRequest.pki_type() == "none") {
|
||||
if (fDebug)
|
||||
qDebug() << "PaymentRequestPlus::getMerchant : Payment request: pki_type == none";
|
||||
qDebug() << "PaymentRequestPlus::getMerchant : Payment request: pki_type == none";
|
||||
return false;
|
||||
}
|
||||
else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue