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

View File

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