channeld: use fee_states internally.

This is an intermediary step: we still don't save it to the database,
but we do use the fee_states struct to track it internally.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2019-12-13 00:37:53 +10:30
committed by Christian Decker
parent acb89debdd
commit 24d54f98ad
7 changed files with 71 additions and 46 deletions

View File

@@ -1499,7 +1499,7 @@ def test_update_fee_reconnect(node_factory, bitcoind):
l1.daemon.wait_for_log(r'dev_disconnect: \+WIRE_COMMITMENT_SIGNED')
# Wait for reconnect....
l1.daemon.wait_for_log('Applying feerate 14000 to LOCAL')
l1.daemon.wait_for_log('Feerate:.*LOCAL now 14000')
l1.pay(l2, 200000000)
l2.pay(l1, 100000000)