Browse Source

[Qt] remove unused PaymentRequestPlus::getPKIType function

0.13
Philip Kaufmann 10 years ago
parent
commit
d19ae3cf66
  1. 6
      src/qt/paymentrequestplus.cpp
  2. 1
      src/qt/paymentrequestplus.h

6
src/qt/paymentrequestplus.cpp

@ -59,12 +59,6 @@ bool PaymentRequestPlus::IsInitialized() const
return paymentRequest.IsInitialized(); return paymentRequest.IsInitialized();
} }
QString PaymentRequestPlus::getPKIType() const
{
if (!IsInitialized()) return QString("none");
return QString::fromStdString(paymentRequest.pki_type());
}
bool PaymentRequestPlus::getMerchant(X509_STORE* certStore, QString& merchant) const bool PaymentRequestPlus::getMerchant(X509_STORE* certStore, QString& merchant) const
{ {
merchant.clear(); merchant.clear();

1
src/qt/paymentrequestplus.h

@ -29,7 +29,6 @@ public:
bool SerializeToString(std::string* output) const; bool SerializeToString(std::string* output) const;
bool IsInitialized() const; bool IsInitialized() const;
QString getPKIType() const;
// Returns true if merchant's identity is authenticated, and // Returns true if merchant's identity is authenticated, and
// returns human-readable merchant identity in merchant // returns human-readable merchant identity in merchant
bool getMerchant(X509_STORE* certStore, QString& merchant) const; bool getMerchant(X509_STORE* certStore, QString& merchant) const;

Loading…
Cancel
Save