htlcswitch: refactor dust handling to use ChannelParty

This commit is contained in:
Keagan McClelland committed 2024-07-31 14:50:27 -07:00
1 parent 1d65f5bd12
commit 1f9cac5f80
6 files changed
+54 -37

No files matched your search

+1 -1
View File
@@ -63,7 +63,7 @@ type dustHandler interface {
// getDustSum returns the dust sum on either the local or remote
// commitment. An optional fee parameter can be passed in which is used
// to calculate the dust sum.
getDustSum(remote bool,
getDustSum(whoseCommit lntypes.ChannelParty,
fee fn.Option[chainfee.SatPerKWeight]) lnwire.MilliSatoshi
// getFeeRate returns the current channel feerate.