use correct dust limit for their to_local/to_remote outputs

This commit is contained in:
Janus 2018-07-19 14:23:45 +02:00 committed by ThomasV
parent 478e484c54
commit 74b180a4e6

View file

@ -596,7 +596,7 @@ class HTLCStateMachine(PrintError):
chan.constraints.capacity,
local_msat,
remote_msat,
chan.local_config.dust_limit_sat,
conf.dust_limit_sat,
chan.local_state.feerate if for_us else chan.remote_state.feerate,
for_us,
chan.constraints.is_initiator,