commit 0a5ea3ec16e275ef33cf05fa039d9d4cebdf02bf parent 7999845051fc72be74502a1d8657eeef30f0730f Author: Joel-Haeberli <haebu@rubigen.ch> Date: Mon, 3 Jun 2024 21:18:55 +0200 fix: enhance logging Diffstat:
| M | c2ec/db-postgres.go | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/c2ec/db-postgres.go b/c2ec/db-postgres.go @@ -516,7 +516,7 @@ func (db *C2ECPostgres) GetConfirmedWithdrawals(start int, delta int, since time } } - limit := math.Abs(float64(delta)) + limit := int(math.Abs(float64(delta))) offset := start - 1 if delta < 0 { offset = start - int(limit)