Merge pull request #1273 from prusnak/encode-decode-default

remove unnecessary argument encoding from bytes.decode() and str.encode()
This commit is contained in:
calle
2023-01-04 09:04:44 +01:00
committed by GitHub
20 changed files with 31 additions and 33 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ async def api_lnurl_callback(request: Request, link_id):
wallet_id=link.wallet,
amount=int(amount_received / 1000),
memo=link.description,
unhashed_description=link.lnurlpay_metadata.encode("utf-8"),
unhashed_description=link.lnurlpay_metadata.encode(),
extra={
"tag": "lnurlp",
"link": link.id,