chore: update python packages + formatting + cleanup (#3221)
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user