summaryrefslogtreecommitdiff
path: root/src/bank-lib
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-12-19 14:47:25 +0100
committerChristian Grothoff <christian@grothoff.org>2022-12-19 14:47:25 +0100
commit373673352fbbddebdba3dc0b83da5dc0f2cbfd29 (patch)
treef4feceb0cd519952c873cef51313355dea450735 /src/bank-lib
parentc4cc1ea13dccd7498b67f311d01c7c8b27838c5d (diff)
downloadexchange-373673352fbbddebdba3dc0b83da5dc0f2cbfd29.tar.gz
exchange-373673352fbbddebdba3dc0b83da5dc0f2cbfd29.tar.bz2
exchange-373673352fbbddebdba3dc0b83da5dc0f2cbfd29.zip
-simplify 200 vs. 204 in fakebank
Diffstat (limited to 'src/bank-lib')
-rw-r--r--src/bank-lib/fakebank.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/bank-lib/fakebank.c b/src/bank-lib/fakebank.c
index c067889a9..76e4db70a 100644
--- a/src/bank-lib/fakebank.c
+++ b/src/bank-lib/fakebank.c
@@ -2310,16 +2310,6 @@ handle_debit_history (struct TALER_FAKEBANK_Handle *h,
pos = t;
}
}
- if (0 == ha.delta)
- {
- GNUNET_log (GNUNET_ERROR_TYPE_INFO,
- "No debit transactions exist after given starting point\n");
- return TALER_MHD_reply_static (connection,
- MHD_HTTP_NO_CONTENT,
- NULL,
- NULL,
- 0);
- }
if (NULL != pos)
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
"Returning %lld debit transactions starting (inclusive) from %llu\n",
@@ -2536,16 +2526,6 @@ handle_credit_history (struct TALER_FAKEBANK_Handle *h,
pos = t;
}
}
- if (0 == ha.delta)
- {
- GNUNET_log (GNUNET_ERROR_TYPE_INFO,
- "No credit transactions exist after given starting point\n");
- return TALER_MHD_reply_static (connection,
- MHD_HTTP_NO_CONTENT,
- NULL,
- NULL,
- 0);
- }
if (NULL != pos)
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
"Returning %lld credit transactions starting (inclusive) from %llu\n",