1
0

qml: actually do the x509 validation for bip70

as in other GUIs
This commit is contained in:
SomberNight
2023-03-14 17:04:39 +00:00
parent e14ed717a8
commit 02a2f02d02
2 changed files with 16 additions and 8 deletions

View File

@@ -152,6 +152,7 @@ class PaymentRequest:
self.payment_url = self.details.payment_url
def verify(self, contacts):
# FIXME: we should enforce that this method was called before we attempt payment
if self.error:
return False
if not self.raw: