From ee4f93d3ba6f5fac5cbcccb6381eb47dc3acfa86 Mon Sep 17 00:00:00 2001 From: benarc Date: Tue, 21 Dec 2021 15:55:24 +0000 Subject: [PATCH] removed s read check --- lnbits/extensions/lnurlpos/lnurl.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/lnbits/extensions/lnurlpos/lnurl.py b/lnbits/extensions/lnurlpos/lnurl.py index 3ea337845..610d70f98 100644 --- a/lnbits/extensions/lnurlpos/lnurl.py +++ b/lnbits/extensions/lnurlpos/lnurl.py @@ -75,8 +75,6 @@ def xor_decrypt(key, blob): pin = compact.read_from(s) # currency amount_in_cent = compact.read_from(s) - if s.read(): - raise RuntimeError("Unexpected data") return pin, amount_in_cent @lnurlpos_ext.get(