multi: deprecate dust-treshold config value

Replace ambigious config value "dust-treshold" with a more clear
"channel-max-fee-exposure" exposure value. The old value is
deprecated and will be removed in the near future.
This commit is contained in:
ziggie committed 2024-11-06 18:16:06 +01:00
1 parent a040f8fafa
commit 7b2da94750
5 files changed
+54 -10

No files matched your search

+2 -2
View File
@@ -4516,8 +4516,8 @@ func TestSwitchDustForwarding(t *testing.T) {
}
// sendDustHtlcs is a helper function used to send many dust HTLC's to test the
// Switch's dust-threshold logic. It takes a boolean denoting whether or not
// Alice is the sender.
// Switch's channel-max-fee-exposure logic. It takes a boolean denoting whether
// or not Alice is the sender.
func sendDustHtlcs(t *testing.T, n *threeHopNetwork, alice bool,
amt lnwire.MilliSatoshi, sid lnwire.ShortChannelID, numHTLCs int) {