1
0

Merge pull request #9430 from SomberNight/202501_funding_pubkey_deriv

lightning: change derivation of funding_pubkey
This commit is contained in:
ThomasV
2025-01-17 10:49:16 +01:00
committed by GitHub
10 changed files with 190 additions and 24 deletions

View File

@@ -156,6 +156,7 @@ if [[ $1 == "backup" ]]; then
echo "alice opens channel"
bob_node=$($bob nodeid)
channel1=$($alice open_channel $bob_node 0.15 --password='')
new_blocks 1 # cannot open multiple chans with same node in same block
$alice setconfig use_recoverable_channels False
channel2=$($alice open_channel $bob_node 0.15 --password='')
new_blocks 3

View File

@@ -1086,6 +1086,7 @@ class TestLNUtil(ElectrumTestCase):
remote_payment_pubkey=bfh('02a1bbc818e2e88847016a93c223eb4adef7bb8becb3709c75c556b6beb3afe7bd'),
remote_revocation_pubkey=bfh('022f28b7d8d1f05768ada3df1b0966083b8058e1e7197c57393e302ec118d7f0ae'),
local_payment_pubkey=None,
multisig_funding_privkey=None,
),
decoded_cb,
)
@@ -1113,6 +1114,7 @@ class TestLNUtil(ElectrumTestCase):
remote_payment_pubkey=bfh('02a1bbc818e2e88847016a93c223eb4adef7bb8becb3709c75c556b6beb3afe7bd'),
remote_revocation_pubkey=bfh('022f28b7d8d1f05768ada3df1b0966083b8058e1e7197c57393e302ec118d7f0ae'),
local_payment_pubkey=bfh('0308d686712782a44b0cef220485ad83dae77853a5bf8501a92bb79056c9dcb25a'),
multisig_funding_privkey=None,
),
decoded_cb,
)