mirror of
https://github.com/lnbits/lnbits.git
synced 2025-08-02 23:12:34 +02:00
removed s read check
This commit is contained in:
@@ -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(
|
||||
|
Reference in New Issue
Block a user