removed s read check
This commit is contained in:
parent
1e171e660d
commit
ee4f93d3ba
|
@ -75,8 +75,6 @@ def xor_decrypt(key, blob):
|
||||||
pin = compact.read_from(s)
|
pin = compact.read_from(s)
|
||||||
# currency
|
# currency
|
||||||
amount_in_cent = compact.read_from(s)
|
amount_in_cent = compact.read_from(s)
|
||||||
if s.read():
|
|
||||||
raise RuntimeError("Unexpected data")
|
|
||||||
return pin, amount_in_cent
|
return pin, amount_in_cent
|
||||||
|
|
||||||
@lnurlpos_ext.get(
|
@lnurlpos_ext.get(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user