diff --git a/lnwallet/interface_test.go b/lnwallet/interface_test.go index ec4a9f7a..275b5e65 100644 --- a/lnwallet/interface_test.go +++ b/lnwallet/interface_test.go @@ -2149,6 +2149,7 @@ func runTests(t *testing.T, walletDriver *lnwallet.WalletDriver, NetParams: netParams, ChainSource: aliceClient, FeeEstimator: feeEstimator, + CoinType: keychain.CoinTypeTestnet, } aliceWalletController, err = walletDriver.New(aliceWalletConfig) if err != nil { @@ -2157,6 +2158,7 @@ func runTests(t *testing.T, walletDriver *lnwallet.WalletDriver, aliceSigner = aliceWalletController.(*btcwallet.BtcWallet) aliceKeyRing = keychain.NewBtcWalletKeyRing( aliceWalletController.(*btcwallet.BtcWallet).InternalWallet(), + keychain.CoinTypeTestnet, ) bobWalletConfig := &btcwallet.Config{ @@ -2166,6 +2168,7 @@ func runTests(t *testing.T, walletDriver *lnwallet.WalletDriver, NetParams: netParams, ChainSource: bobClient, FeeEstimator: feeEstimator, + CoinType: keychain.CoinTypeTestnet, } bobWalletController, err = walletDriver.New(bobWalletConfig) if err != nil { @@ -2174,6 +2177,7 @@ func runTests(t *testing.T, walletDriver *lnwallet.WalletDriver, bobSigner = bobWalletController.(*btcwallet.BtcWallet) bobKeyRing = keychain.NewBtcWalletKeyRing( bobWalletController.(*btcwallet.BtcWallet).InternalWallet(), + keychain.CoinTypeTestnet, ) bio = bobWalletController.(*btcwallet.BtcWallet) default: