From 916ac11585c580bf045b616a5279503a8741f6d9 Mon Sep 17 00:00:00 2001 From: Alfred Kamanda Date: Thu, 5 Feb 2026 19:58:14 +0300 Subject: [PATCH] use the correct decimal when displaying the quote --- handlers/application/paydebt.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handlers/application/paydebt.go b/handlers/application/paydebt.go index d38ed6c..faf6a04 100644 --- a/handlers/application/paydebt.go +++ b/handlers/application/paydebt.go @@ -195,7 +195,7 @@ func (h *MenuHandlers) ConfirmDebtRemoval(ctx context.Context, sym string, input } // Scale down the quoted amount - quoteAmountStr := store.ScaleDownBalance(r.OutValue, swapData.ActiveSwapToDecimal) + quoteAmountStr := store.ScaleDownBalance(r.OutValue, swapData.ActiveSwapFromDecimal) // Format to 2 decimal places qouteStr, _ := store.TruncateDecimalString(string(quoteAmountStr), 2)