lnwallet/interfaace_test: init neutrino with chain params
This commit is contained in:
parent
06a53aa5cc
commit
a2fdd8593d
@ -2083,7 +2083,9 @@ func runTests(t *testing.T, walletDriver *lnwallet.WalletDriver,
|
|||||||
}
|
}
|
||||||
aliceChain.Start()
|
aliceChain.Start()
|
||||||
defer aliceChain.Stop()
|
defer aliceChain.Stop()
|
||||||
aliceClient = chain.NewNeutrinoClient(aliceChain)
|
aliceClient = chain.NewNeutrinoClient(
|
||||||
|
netParams, aliceChain,
|
||||||
|
)
|
||||||
|
|
||||||
// Start Bob - open a database, start a neutrino
|
// Start Bob - open a database, start a neutrino
|
||||||
// instance, and initialize a btcwallet driver for it.
|
// instance, and initialize a btcwallet driver for it.
|
||||||
@ -2108,7 +2110,9 @@ func runTests(t *testing.T, walletDriver *lnwallet.WalletDriver,
|
|||||||
}
|
}
|
||||||
bobChain.Start()
|
bobChain.Start()
|
||||||
defer bobChain.Stop()
|
defer bobChain.Stop()
|
||||||
bobClient = chain.NewNeutrinoClient(bobChain)
|
bobClient = chain.NewNeutrinoClient(
|
||||||
|
netParams, bobChain,
|
||||||
|
)
|
||||||
|
|
||||||
case "bitcoind":
|
case "bitcoind":
|
||||||
feeEstimator, err = lnwallet.NewBitcoindFeeEstimator(
|
feeEstimator, err = lnwallet.NewBitcoindFeeEstimator(
|
||||||
|
Loading…
Reference in New Issue
Block a user