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
@@ -814,7 +814,7 @@ func (f *mockChannelLink) handleSwitchPacket(pkt *htlcPacket) error {
return nil
}
func (f *mockChannelLink) getDustSum(remote bool,
func (f *mockChannelLink) getDustSum(whoseCommit lntypes.ChannelParty,
dryRunFee fn.Option[chainfee.SatPerKWeight]) lnwire.MilliSatoshi {
return 0