added key
This commit is contained in:
parent
c87abef20f
commit
0b93811957
1 changed files with 1 additions and 1 deletions
|
|
@ -109,7 +109,7 @@ async def handle_lnurl_firstrequest(
|
||||||
payload += "="*(4-(len(payload)%4))
|
payload += "="*(4-(len(payload)%4))
|
||||||
|
|
||||||
data = base64.urlsafe_b64decode(payload)
|
data = base64.urlsafe_b64decode(payload)
|
||||||
pin, amount_in_cent = xor_decrypt(key, data)
|
pin, amount_in_cent = xor_decrypt(pos.key, data)
|
||||||
|
|
||||||
price_msat = (
|
price_msat = (
|
||||||
await fiat_amount_as_satoshis(float(amount_in_cent) / 100, pos.currency)
|
await fiat_amount_as_satoshis(float(amount_in_cent) / 100, pos.currency)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue