removed s read check
This commit is contained in:
@@ -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(
|
||||||
|
|||||||
Reference in New Issue
Block a user