chore: adhere to ruff's C (#2379)

This commit is contained in:
dni ⚡
2024-04-03 17:56:05 +02:00
committed by GitHub
parent cd66b7d70c
commit e0b7d2f739
10 changed files with 43 additions and 41 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ from .base import (
class FakeWallet(Wallet):
queue: asyncio.Queue = asyncio.Queue(0)
payment_secrets: Dict[str, str] = dict()
payment_secrets: Dict[str, str] = {}
paid_invoices: Set[str] = set()
secret: str = settings.fake_wallet_secret
privkey: str = hashlib.pbkdf2_hmac(
+1 -1
View File
@@ -142,7 +142,7 @@ class LndRestWallet(Wallet):
async def pay_invoice(self, bolt11: str, fee_limit_msat: int) -> PaymentResponse:
# set the fee limit for the payment
lnrpcFeeLimit = dict()
lnrpcFeeLimit = {}
lnrpcFeeLimit["fixed_msat"] = f"{fee_limit_msat}"
try: