htlcswitch: refactor dust handling to use ChannelParty

This commit is contained in:
Keagan McClelland
2024-07-30 17:05:04 -07:00
parent 1d65f5bd12
commit 1f9cac5f80
6 changed files with 54 additions and 37 deletions

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