fix bip70 potentially not returning gui fields tuple
This commit is contained in:
@@ -651,11 +651,11 @@ class PaymentIdentifier(Logger):
|
|||||||
pr = self.bip70_data
|
pr = self.bip70_data
|
||||||
if pr.error:
|
if pr.error:
|
||||||
self.error = pr.error
|
self.error = pr.error
|
||||||
return
|
else:
|
||||||
recipient = pr.get_requestor()
|
recipient = pr.get_requestor()
|
||||||
amount = pr.get_amount()
|
amount = pr.get_amount()
|
||||||
description = pr.get_memo()
|
description = pr.get_memo()
|
||||||
validated = not pr.has_expired()
|
validated = not pr.has_expired()
|
||||||
|
|
||||||
elif self.spk:
|
elif self.spk:
|
||||||
pass
|
pass
|
||||||
|
|||||||
Reference in New Issue
Block a user