electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 2955fd1a8c58d570a7f461d8b471eab178e17bce
parent 1ab327d3f691f8da00f72c14aac0e3ec7970da12
Author: ThomasV <thomasv@electrum.org>
Date:   Fri, 12 Feb 2016 12:01:13 +0100

allow unsigned payment requests

Diffstat:
Mlib/paymentrequest.py | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/paymentrequest.py b/lib/paymentrequest.py @@ -108,9 +108,9 @@ class PaymentRequest: pr = pb2.PaymentRequest() pr.ParseFromString(self.raw) if not pr.signature: - self.error = "No signature" - return - + # the address will be dispayed as requestor + self.requestor = None + return True if pr.pki_type in ["x509+sha256", "x509+sha1"]: return self.verify_x509(pr) elif pr.pki_type in ["dnssec+btc", "dnssec+ecdsa"]: