summaryrefslogtreecommitdiff
path: root/src/bank-lib
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-02-11 23:02:22 +0100
committerChristian Grothoff <christian@grothoff.org>2020-02-11 23:02:22 +0100
commit1448f97b5119f0cd163ce745c04601d0be45458b (patch)
tree37fb77382bc1e1f6539dfc18f87c23956e1b2192 /src/bank-lib
parent357dbc02352d1efa078f50f9405f3ee7890dc735 (diff)
downloadexchange-1448f97b5119f0cd163ce745c04601d0be45458b.tar.gz
exchange-1448f97b5119f0cd163ce745c04601d0be45458b.tar.bz2
exchange-1448f97b5119f0cd163ce745c04601d0be45458b.zip
keep the const though, that was an improvement
Diffstat (limited to 'src/bank-lib')
-rw-r--r--src/bank-lib/fakebank.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bank-lib/fakebank.c b/src/bank-lib/fakebank.c
index 56af11f8..614b083a 100644
--- a/src/bank-lib/fakebank.c
+++ b/src/bank-lib/fakebank.c
@@ -972,7 +972,7 @@ handle_debit_history (struct TALER_FAKEBANK_Handle *h,
const char *account)
{
struct HistoryArgs ha;
- struct Transaction *pos;
+ const struct Transaction *pos;
json_t *history;
if (GNUNET_OK !=
@@ -1087,7 +1087,7 @@ handle_credit_history (struct TALER_FAKEBANK_Handle *h,
const char *account)
{
struct HistoryArgs ha;
- struct Transaction *pos;
+ const struct Transaction *pos;
json_t *history;
if (GNUNET_OK !=