electrum

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

commit f3f5b8a5d69040cc7203bff7a210fd85a18c8951
parent db834800c0672b7d0b75aa4255e64919ad1c9e91
Author: SomberNight <somber.night@protonmail.com>
Date:   Wed, 15 Aug 2018 13:43:19 +0200

fix #4312

Diffstat:
Melectrum/paymentrequest.py | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/electrum/paymentrequest.py b/electrum/paymentrequest.py @@ -92,7 +92,8 @@ def get_payment_request(url): data = None error = "payment URL not pointing to a valid file" else: - raise Exception("unknown scheme", url) + data = None + error = "Unknown scheme for payment request. URL: {}".format(url) pr = PaymentRequest(data, error) return pr