Skip to content

Commit

Permalink
autoborrow: improve log
Browse files Browse the repository at this point in the history
  • Loading branch information
c9s committed Dec 27, 2024
1 parent aaa43ba commit 9a9e971
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/strategy/autoborrow/alert_interest_rate.go
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,9 @@ func (w *MarginHighInterestRateWorker) Run(ctx context.Context) {
continue
}

log.Infof("found high interest rate assets: %+v", highRateAssets)
if len(highRateAssets) > 0 {
log.Infof("found high interest rate assets: %+v", highRateAssets)
}

nextTotalInterestValue := fixedpoint.Zero
exceededDebtAmount := false
Expand Down

0 comments on commit 9a9e971

Please sign in to comment.