mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2024-11-20 10:39:59 +01:00
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)
|
||||
# currency
|
||||
amount_in_cent = compact.read_from(s)
|
||||
if s.read():
|
||||
raise RuntimeError("Unexpected data")
|
||||
return pin, amount_in_cent
|
||||
|
||||
@lnurlpos_ext.get(
|
||||
|
Loading…
Reference in New Issue
Block a user