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

This commit is contained in:
dni ⚡ 2025-06-30 14:53:11 +02:00
parent c4c03d96a3
commit a16078a6ba
No known key found for this signature in database
GPG key ID: D1F416F29AD26E87
53 changed files with 1159 additions and 576 deletions

View file

@ -3,7 +3,6 @@ import json
import os
import time
from subprocess import PIPE, Popen, TimeoutExpired
from typing import Tuple
from loguru import logger
@ -84,7 +83,7 @@ def run_cmd_json(cmd: list) -> dict:
raise
def get_hold_invoice(sats: int) -> Tuple[str, dict]:
def get_hold_invoice(sats: int) -> tuple[str, dict]:
preimage = os.urandom(32)
preimage_hash = hashlib.sha256(preimage).hexdigest()
cmd = docker_lightning_cli.copy()