chainreg+lnd: remove ChannelConstraints from PartialChainControl

This commit is contained in:
Keagan McClelland
2024-02-02 18:46:24 -08:00
parent 7a3101710c
commit c6ecb10865
2 changed files with 2 additions and 9 deletions

View File

@ -693,7 +693,7 @@ func (d *DefaultWalletImpl) BuildChainControl(
FeeEstimator: partialChainControl.FeeEstimator,
SecretKeyRing: keyRing,
ChainIO: walletController,
DefaultConstraints: partialChainControl.ChannelConstraints,
DefaultConstraints: chainreg.GenDefaultBtcConstraints(),
NetParams: *walletConfig.NetParams,
}
@ -808,7 +808,7 @@ func (d *RPCSignerWalletImpl) BuildChainControl(
FeeEstimator: partialChainControl.FeeEstimator,
SecretKeyRing: rpcKeyRing,
ChainIO: walletController,
DefaultConstraints: partialChainControl.ChannelConstraints,
DefaultConstraints: chainreg.GenDefaultBtcConstraints(),
NetParams: *walletConfig.NetParams,
}