1
0

send tx change to lightning

This commit is contained in:
ThomasV
2023-06-16 10:05:02 +02:00
parent f245b347f1
commit 649ce979ab
16 changed files with 146 additions and 47 deletions

View File

@@ -753,3 +753,7 @@ def is_minikey(text: str) -> bool:
def minikey_to_private_key(text: str) -> bytes:
return sha256(text)
# dummy address for fee estimation of funding tx
def get_dummy_address(purpose):
return redeem_script_to_address('p2wsh', sha256(bytes(purpose, "utf8")).hex())