lnwallet: properly set FeeEstimator within integration tests

This commit is contained in:
Olaoluwa Osuntokun committed 2017-06-07 17:22:46 -07:00
1 parent 54cb8a05cd
commit 5e2381a64c
1 file changed
+6 -5
+6 -5
View File
@@ -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 {