funding test: add default constraints to wallet config

This commit is contained in:
nsa authored and Johan T. Halseth committed 2018-02-08 18:35:23 -05:00
1 parent 7e84892c21
commit d924fcfdf4
1 file changed
+8 -7
+8 -7
View File
@@ -154,13 +154,14 @@ func createTestWallet(cdb *channeldb.DB, netParams *chaincfg.Params,
estimator lnwallet.FeeEstimator) (*lnwallet.LightningWallet, error) {
wallet, err := lnwallet.NewLightningWallet(lnwallet.Config{
Database: cdb,
Notifier: notifier,
WalletController: wc,
Signer: signer,
ChainIO: bio,
FeeEstimator: estimator,
NetParams: *netParams,
Database: cdb,
Notifier: notifier,
WalletController: wc,
Signer: signer,
ChainIO: bio,
FeeEstimator: estimator,
NetParams: *netParams,
DefaultConstraints: defaultChannelConstraints,
})
if err != nil {
return nil, err