funding test: add default constraints to wallet config

This commit is contained in:
nsa 2017-11-29 14:39:28 +01:00 committed by Johan T. Halseth
parent 7e84892c21
commit d924fcfdf4
No known key found for this signature in database
GPG Key ID: 15BAADA29DA20D26

@ -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