chore: update python packages + formatting + cleanup (#3221)

This commit is contained in:
dni ⚡
2025-07-08 10:17:27 +02:00
parent c4c03d96a3
commit a16078a6ba
53 changed files with 1159 additions and 576 deletions
+3 -2
View File
@@ -2,7 +2,8 @@ import asyncio
import hashlib
import json
import time
from typing import AsyncGenerator, Dict, Optional
from collections.abc import AsyncGenerator
from typing import Optional
import httpx
from loguru import logger
@@ -73,7 +74,7 @@ class LnTipsWallet(Wallet):
unhashed_description: Optional[bytes] = None,
**_,
) -> InvoiceResponse:
data: Dict = {"amount": amount, "description_hash": "", "memo": memo or ""}
data: dict = {"amount": amount, "description_hash": "", "memo": memo or ""}
if description_hash:
data["description_hash"] = description_hash.hex()
elif unhashed_description: