commit 509868d70b885f585f11c1e10f2ddaf6c858103d parent 64de346638975b02493c65e9297b61544a17c6af Author: Joel-Haeberli <haebu@rubigen.ch> Date: Tue, 4 Jun 2024 16:53:55 +0200 fix: wire-gateway-api 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 @@ -511,7 +511,7 @@ func (db *C2ECPostgres) GetConfirmedWithdrawals(start int, delta int, since time } limit := int(math.Abs(float64(delta))) - offset := start + offset := start - 1 if delta < 0 { offset = start - int(limit) }