lnwallet: expose required account parameter for WalletController methods

This commit is contained in:
Wilmer Paulino committed 2021-04-05 15:41:05 -07:00
1 parent a620ce3682
commit f38bf4d7fa
11 files changed
+239 -96

No files matched your search

+3 -1
View File
@@ -722,7 +722,9 @@ func (l *LightningWallet) handleFundingReserveRequest(req *InitFundingReserveMsg
SubtractFees: req.SubtractFees,
FeeRate: req.FundingFeePerKw,
ChangeAddr: func() (btcutil.Address, error) {
return l.NewAddress(WitnessPubKey, true)
return l.NewAddress(
WitnessPubKey, true, DefaultAccountName,
)
},
}
fundingIntent, err = req.ChanFunder.ProvisionChannel(