If l3 does a short signature, our feerate will also be wrong. Adjust
check_feerate to take a range of nodes for this case.
```
> check_feerate(l2, total_feerate_perkw, feerate)
tests/test_closing.py:4054:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
node = <fixtures.LightningNode object at 0x7fd7e2cbfb20>
actual_feerate = 14006.105538595726, expected_feerate = 14000
def check_feerate(node, actual_feerate, expected_feerate):
# Feerate can't be lower.
assert actual_feerate > expected_feerate - 2
if not did_short_sig(node):
> assert actual_feerate < expected_feerate + 2
E AssertionError
tests/utils.py:675: AssertionError
```
24 KiB
24 KiB