chainregistery: correct ltc dust limit

Corrects the ltc dust limit, making it 54600.
This commit is contained in:
Conner Fromknecht 2018-03-28 00:47:33 -07:00
parent 2b00e01c53
commit 8fd7b38e05
No known key found for this signature in database
GPG Key ID: 39DE78FBE6ACB0EF

@ -43,7 +43,7 @@ const (
defaultLitecoinFeeRate = lnwire.MilliSatoshi(1) defaultLitecoinFeeRate = lnwire.MilliSatoshi(1)
defaultLitecoinTimeLockDelta = 576 defaultLitecoinTimeLockDelta = 576
defaultLitecoinStaticFeeRate = lnwallet.SatPerVByte(200) defaultLitecoinStaticFeeRate = lnwallet.SatPerVByte(200)
defaultLitecoinMinRelayFee = btcutil.Amount(1000) defaultLitecoinDustLimit = btcutil.Amount(54600)
) )
// defaultBtcChannelConstraints is the default set of channel constraints that are // defaultBtcChannelConstraints is the default set of channel constraints that are
@ -58,7 +58,7 @@ var defaultBtcChannelConstraints = channeldb.ChannelConstraints{
// defaultLtcChannelConstraints is the default set of channel constraints that are // defaultLtcChannelConstraints is the default set of channel constraints that are
// meant to be used when initially funding a Litecoin channel. // meant to be used when initially funding a Litecoin channel.
var defaultLtcChannelConstraints = channeldb.ChannelConstraints{ var defaultLtcChannelConstraints = channeldb.ChannelConstraints{
DustLimit: defaultLitecoinMinRelayFee, DustLimit: defaultLitecoinDustLimit,
MaxAcceptedHtlcs: lnwallet.MaxHTLCNumber / 2, MaxAcceptedHtlcs: lnwallet.MaxHTLCNumber / 2,
} }