commit ac164812eb3dfee405db4a719e9662f4ec9a221a parent 199b5b08d75f9b2538baed1a7cf2a640b02e6940 Author: Joel-Haeberli <haebu@rubigen.ch> Date: Wed, 5 Jun 2024 07:41:42 +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 @@ -518,7 +518,7 @@ func (db *C2ECPostgres) GetConfirmedWithdrawals(start int, delta int, since time } limit := int(math.Abs(float64(delta))) - offset := start - 1 + offset := start if delta < 0 { offset = start - int(limit) }