mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
sweep: log tx label in GetSweepFee methods
Added argument 'label' to GetSweepFee and GetSweepFeeDetails. It is logged together with expected weight, fee and feerate.
This commit is contained in:
parent
f8c1607154
commit
697e8d6255
6 changed files with 53 additions and 8 deletions
|
|
@ -570,8 +570,11 @@ func (s *Client) getLoopOutSweepFee(ctx context.Context, confTarget int32) (
|
|||
htlc = swap.QuoteHtlcP2WSH
|
||||
}
|
||||
|
||||
label := "loopout-quote"
|
||||
|
||||
return s.sweeper.GetSweepFee(
|
||||
ctx, htlc.AddSuccessToEstimator, p2wshAddress, confTarget,
|
||||
label,
|
||||
)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue