lnwallet: use new maxFeeRatio for sanityCheckFee func

This commit is contained in:
George Tsagkarelis committed 2024-11-05 19:55:07 +01:00
1 parent 85175814a4
commit a72dae314c
4 files changed
+47 -27

No files matched your search

+3
View File
@@ -436,6 +436,7 @@ func (w *WalletAssembler) ProvisionChannel(r *Request) (Intent, error) {
reserve, w.cfg.DustLimit, coins,
w.cfg.CoinSelectionStrategy,
fundingOutputWeight, changeType,
DefaultMaxFeeRatio,
)
if err != nil {
return err
@@ -471,6 +472,7 @@ func (w *WalletAssembler) ProvisionChannel(r *Request) (Intent, error) {
r.FeeRate, r.LocalAmt, dustLimit, coins,
w.cfg.CoinSelectionStrategy,
fundingOutputWeight, changeType,
DefaultMaxFeeRatio,
)
if err != nil {
return err
@@ -485,6 +487,7 @@ func (w *WalletAssembler) ProvisionChannel(r *Request) (Intent, error) {
r.FeeRate, r.LocalAmt, dustLimit, coins,
w.cfg.CoinSelectionStrategy,
fundingOutputWeight, changeType,
DefaultMaxFeeRatio,
)
if err != nil {
return err