diff --git a/src/bank-lib/fakebank.c b/src/bank-lib/fakebank.c index 0de31fc7e..e12a9d794 100644 --- a/src/bank-lib/fakebank.c +++ b/src/bank-lib/fakebank.c @@ -933,7 +933,7 @@ handle_debit_history (struct TALER_FAKEBANK_Handle *h, if (0 > ha.delta) pos = pos->prev; else - pos = pos->tail; + pos = pos->next; } else {