Merge pull request #3873 from matheusdtech/reenable-tests

Re-enable TestLightningWallet tests
This commit is contained in:
Olaoluwa Osuntokun 2019-12-23 13:23:29 -06:00 committed by GitHub
commit e0d9bbfbc4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2780,7 +2780,14 @@ func testSingleFunderExternalFundingTx(miner *rpctest.Harness,
bobShimIntent, err := chanfunding.NewCannedAssembler(
*chanPoint, btcutil.Amount(chanAmt), &bobFundingKey,
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 {
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") {
t.Skip("skipping dual funder tests for neutrino")
}
return
walletTest.test(miningNode, alice, bob, t)
})