lnwallet+funding+lnd: trim unused parameters, from lnwallet.Config

chainreg: remove unused GenDefaultBtcConstraints

lnwallet+funding+lnd: remove DefaultDustLimit from lnwallet.Config
This commit is contained in:
Keagan McClelland
2024-02-05 11:40:36 -08:00
parent c6ecb10865
commit fb8de14798
8 changed files with 35 additions and 56 deletions

View File

@@ -1363,7 +1363,8 @@ func (l *LightningWallet) initOurContribution(reservation *ChannelReservation,
)
reservation.partialState.RevocationProducer = producer
reservation.ourContribution.ChannelConstraints = l.Cfg.DefaultConstraints
reservation.ourContribution.ChannelConstraints.DustLimit =
DustLimitUnknownWitness()
// If taproot channels are active, then we'll generate our verification
// nonce here. We'll use this nonce to verify the signature for our