chainreg+lnd: remove ChannelConstraints from PartialChainControl
This commit is contained in:
1 parent
7a3101710c
commit
c6ecb10865
2 files changed
+2
-9
No files matched your search
@@ -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