chore: update python packages + formatting + cleanup (#3221)
This commit is contained in:
parent
c4c03d96a3
commit
a16078a6ba
53 changed files with 1159 additions and 576 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue