mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-27 14:11:04 +02:00
chainreg+lnd: remove ChannelConstraints from PartialChainControl
This commit is contained in:
@@ -166,10 +166,6 @@ type PartialChainControl struct {
|
||||
|
||||
// MinHtlcIn is the minimum HTLC we will accept.
|
||||
MinHtlcIn lnwire.MilliSatoshi
|
||||
|
||||
// ChannelConstraints is the set of default constraints that will be
|
||||
// used for any incoming or outgoing channel reservation requests.
|
||||
ChannelConstraints channeldb.ChannelConstraints
|
||||
}
|
||||
|
||||
// ChainControl couples the three primary interfaces lnd utilizes for a
|
||||
@@ -715,9 +711,6 @@ func NewPartialChainControl(cfg *Config) (*PartialChainControl, func(), error) {
|
||||
return nil, nil, err
|
||||
}
|
||||
|
||||
// Select the default channel constraints for the primary chain.
|
||||
cc.ChannelConstraints = GenDefaultBtcConstraints()
|
||||
|
||||
return cc, ccCleanup, nil
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user