1
0

ln: remove unneeded forwarding htlc features, check commitment sig using lnhtlc while receiving

This commit is contained in:
Janus
2018-06-11 19:53:15 +02:00
committed by ThomasV
parent 4d25933898
commit bd0f659f26
4 changed files with 92 additions and 95 deletions

View File

@@ -156,7 +156,7 @@ class Test_LNBase(unittest.TestCase):
local_revocation_pubkey, local_delayedpubkey, local_delay,
funding_tx_id, funding_output_index, funding_amount_satoshi,
to_local_msat, to_remote_msat, local_dust_limit_satoshi,
local_feerate_per_kw, True, htlcs=htlcs)
local_feerate_per_kw, True, we_are_initiator=True, htlcs=htlcs)
self.sign_and_insert_remote_sig(our_commit_tx, remote_funding_pubkey, remote_signature, local_funding_pubkey, local_funding_privkey)
self.assertEqual(str(our_commit_tx), output_commit_tx)