removed s read check

This commit is contained in:
benarc 2021-12-21 15:55:24 +00:00
parent 1e171e660d
commit ee4f93d3ba

View File

@ -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(