mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-28 07:51:27 +00:00
allow unsigned payment requests
This commit is contained in:
parent
1ab327d3f6
commit
2955fd1a8c
1 changed files with 3 additions and 3 deletions
|
@ -108,9 +108,9 @@ class PaymentRequest:
|
||||||
pr = pb2.PaymentRequest()
|
pr = pb2.PaymentRequest()
|
||||||
pr.ParseFromString(self.raw)
|
pr.ParseFromString(self.raw)
|
||||||
if not pr.signature:
|
if not pr.signature:
|
||||||
self.error = "No signature"
|
# the address will be dispayed as requestor
|
||||||
return
|
self.requestor = None
|
||||||
|
return True
|
||||||
if pr.pki_type in ["x509+sha256", "x509+sha1"]:
|
if pr.pki_type in ["x509+sha256", "x509+sha1"]:
|
||||||
return self.verify_x509(pr)
|
return self.verify_x509(pr)
|
||||||
elif pr.pki_type in ["dnssec+btc", "dnssec+ecdsa"]:
|
elif pr.pki_type in ["dnssec+btc", "dnssec+ecdsa"]:
|
||||||
|
|
Loading…
Add table
Reference in a new issue