mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 09:53:54 +01:00
13 lines
348 B
Go
13 lines
348 B
Go
package lnwallet
|
|
|
|
import (
|
|
"github.com/roasbeef/btcutil"
|
|
"github.com/roasbeef/btcwallet/wallet/txrules"
|
|
)
|
|
|
|
// DefaultDustLimit is used to calculate the dust HTLC amount which will be
|
|
// send to other node during funding process.
|
|
func DefaultDustLimit() btcutil.Amount {
|
|
return txrules.GetDustThreshold(P2WSHSize, txrules.DefaultRelayFeePerKb)
|
|
}
|