Skip to content

Commit

Permalink
Add logging for max L2 routing fees in RequestReverseSubmarineSwap fu…
Browse files Browse the repository at this point in the history
…nction
  • Loading branch information
Jossec101 committed May 8, 2024
1 parent 63a6a14 commit d43dcf6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions provider/loop_provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,8 @@ func (l *LoopProvider) RequestReverseSubmarineSwap(ctx context.Context, request
l2MaxRoutingFeeRatio := viper.GetFloat64("limitFeesL2")
maxSwapRoutingFee := int64(float64(request.SatsAmount) * l2MaxRoutingFeeRatio)

log.Infof("max L2 routing fees for the swap: %d", maxSwapRoutingFee)

//Get limits
//Amt using btcutil
amt := btcutil.Amount(request.SatsAmount)
Expand Down

0 comments on commit d43dcf6

Please sign in to comment.