1
0

fix bip70 potentially not returning gui fields tuple

This commit is contained in:
Sander van Grieken
2023-06-26 13:52:01 +02:00
parent 0cbf403f8b
commit 5cc7948eee

View File

@@ -651,11 +651,11 @@ class PaymentIdentifier(Logger):
pr = self.bip70_data
if pr.error:
self.error = pr.error
return
recipient = pr.get_requestor()
amount = pr.get_amount()
description = pr.get_memo()
validated = not pr.has_expired()
else:
recipient = pr.get_requestor()
amount = pr.get_amount()
description = pr.get_memo()
validated = not pr.has_expired()
elif self.spk:
pass