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 SomberNight
parent a058ed3100
commit d797f4d146
No known key found for this signature in database
GPG key ID: B33B5F232C6271E9

View file

@ -596,7 +596,7 @@ class HTLCStateMachine(PrintError):
chan.constraints.capacity, chan.constraints.capacity,
local_msat, local_msat,
remote_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, chan.local_state.feerate if for_us else chan.remote_state.feerate,
for_us, for_us,
chan.constraints.is_initiator, chan.constraints.is_initiator,