lnwallet: properly set FeeEstimator within integration tests

This commit is contained in:
Olaoluwa Osuntokun 2017-06-07 17:22:39 -07:00
parent 54cb8a05cd
commit 5e2381a64c
No known key found for this signature in database
GPG Key ID: 9CC5B105D03521A2

@ -1324,11 +1324,12 @@ func TestLightningWallet(t *testing.T) {
} }
btcwalletConfig := &btcwallet.Config{ btcwalletConfig := &btcwallet.Config{
PrivatePass: privPass, PrivatePass: privPass,
HdSeed: testHdSeed[:], HdSeed: testHdSeed[:],
DataDir: tempTestDir, DataDir: tempTestDir,
NetParams: netParams, NetParams: netParams,
ChainSource: chainRpc, ChainSource: chainRpc,
FeeEstimator: lnwallet.StaticFeeEstimator{FeeRate: 250},
} }
wc, err = walletDriver.New(btcwalletConfig) wc, err = walletDriver.New(btcwalletConfig)
if err != nil { if err != nil {