summaryrefslogtreecommitdiff
path: root/src/wire-plugins
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2018-12-14 00:34:35 +0100
committerMarcello Stanisci <stanisci.m@gmail.com>2018-12-14 19:25:42 +0100
commit15c1a877c617fd29ff61e2ebd1f6fac72e54afce (patch)
tree2781d327ca51bce8c172f0907bb93c86cc13d579 /src/wire-plugins
parentc2b6a1065474df88df8d501d7a83b67032bd121d (diff)
downloadexchange-15c1a877c617fd29ff61e2ebd1f6fac72e54afce.tar.gz
exchange-15c1a877c617fd29ff61e2ebd1f6fac72e54afce.tar.bz2
exchange-15c1a877c617fd29ff61e2ebd1f6fac72e54afce.zip
/history API semantics extended.
That API has now a new 'ordering' flag that lets the client choose what ordering the results should have: ascending or descending. In particular, this change adapted the fakebank and tests logic to such introduction.
Diffstat (limited to 'src/wire-plugins')
-rw-r--r--src/wire-plugins/plugin_wire_taler-bank.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wire-plugins/plugin_wire_taler-bank.c b/src/wire-plugins/plugin_wire_taler-bank.c
index 8299e8e39..289c9b6a0 100644
--- a/src/wire-plugins/plugin_wire_taler-bank.c
+++ b/src/wire-plugins/plugin_wire_taler-bank.c
@@ -1093,6 +1093,8 @@ taler_bank_get_history (void *cls,
&whh->auth,
(uint64_t) account.no,
direction,
+ /* Defaults to descending ordering always. */
+ GNUNET_NO,
start_row,
num_results,
&bhist_cb,