lnwallet: Fix external funding test
This commit is contained in:
parent
fb6cf21948
commit
02d616d9b7
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user