lnwallet: properly set FeeEstimator within integration tests
This commit is contained in:
parent
54cb8a05cd
commit
5e2381a64c
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user