commit ff7bdc1f38184de06b0cc9f70187dedc6966ba6a
parent a0e5633d0bce147b5678f9a9b4013287f4a2df47
Author: ThomasV <thomasv@electrum.org>
Date: Sat, 13 Feb 2016 11:00:00 +0100
paymentrequest.py: return No Signature
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/paymentrequest.py b/lib/paymentrequest.py
@@ -80,6 +80,7 @@ class PaymentRequest:
self.parse(data)
self.requestor = None # known after verify
self.tx = None
+ self.error = None
def __str__(self):
return self.raw
@@ -195,7 +196,7 @@ class PaymentRequest:
return self.requestor if self.requestor else self.get_address()
def get_verify_status(self):
- return self.error
+ return self.error if self.requestor else "No Signature"
def get_memo(self):
return self.memo