1
0

ln update_fee: enforce that feerate is over default min relay fee

(this was always already the case when we are the funder, but we were
not checking it when remote is responsible for update_fee)
This commit is contained in:
SomberNight
2021-09-24 20:13:58 +02:00
parent 4af103378a
commit 1ff9f9910f
5 changed files with 15 additions and 2 deletions

View File

@@ -532,7 +532,7 @@ class TestChannel(ElectrumTestCase):
self.assertEqual(bob_channel.total_msat(SENT), 5 * one_bitcoin_in_msat, "bob satoshis sent incorrect")
def alice_to_bob_fee_update(self, fee=111):
def alice_to_bob_fee_update(self, fee=1111):
aoldctx = self.alice_channel.get_next_commitment(REMOTE).outputs()
self.alice_channel.update_fee(fee, True)
anewctx = self.alice_channel.get_next_commitment(REMOTE).outputs()