From 02d616d9b72ef11920ea1f731b688bab9dc6af24 Mon Sep 17 00:00:00 2001 From: Matheus Degiovani Date: Fri, 20 Dec 2019 18:14:15 -0300 Subject: [PATCH] lnwallet: Fix external funding test --- lnwallet/interface_test.go | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/lnwallet/interface_test.go b/lnwallet/interface_test.go index 989e7017..dd1e059b 100644 --- a/lnwallet/interface_test.go +++ b/lnwallet/interface_test.go @@ -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) }