Merge pull request #3873 from matheusdtech/reenable-tests
Re-enable TestLightningWallet tests
This commit is contained in:
commit
e0d9bbfbc4
@ -2780,7 +2780,14 @@ func testSingleFunderExternalFundingTx(miner *rpctest.Harness,
|
|||||||
bobShimIntent, err := chanfunding.NewCannedAssembler(
|
bobShimIntent, err := chanfunding.NewCannedAssembler(
|
||||||
*chanPoint, btcutil.Amount(chanAmt), &bobFundingKey,
|
*chanPoint, btcutil.Amount(chanAmt), &bobFundingKey,
|
||||||
aliceFundingKey.PubKey, false,
|
aliceFundingKey.PubKey, false,
|
||||||
).ProvisionChannel(nil)
|
).ProvisionChannel(&chanfunding.Request{
|
||||||
|
LocalAmt: btcutil.Amount(chanAmt),
|
||||||
|
MinConfs: 1,
|
||||||
|
FeeRate: 253,
|
||||||
|
ChangeAddr: func() (btcutil.Address, error) {
|
||||||
|
return bob.NewAddress(lnwallet.WitnessPubKey, true)
|
||||||
|
},
|
||||||
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatalf("unable to create shim intent for bob: %v", err)
|
t.Fatalf("unable to create shim intent for bob: %v", err)
|
||||||
}
|
}
|
||||||
@ -3140,7 +3147,6 @@ func runTests(t *testing.T, walletDriver *lnwallet.WalletDriver,
|
|||||||
strings.Contains(walletTest.name, "dual funder") {
|
strings.Contains(walletTest.name, "dual funder") {
|
||||||
t.Skip("skipping dual funder tests for neutrino")
|
t.Skip("skipping dual funder tests for neutrino")
|
||||||
}
|
}
|
||||||
return
|
|
||||||
|
|
||||||
walletTest.test(miningNode, alice, bob, t)
|
walletTest.test(miningNode, alice, bob, t)
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user