diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2019-04-08 23:53:52 +0200 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2019-04-08 23:56:46 +0200 |
commit | ed0da1fdb3e85a0d19148b3ec9eb481e8c06c025 (patch) | |
tree | 3006bfea0e7f3de280256896ad4eef57d143fde1 /src/bank-lib/fakebank.c | |
parent | 5ec20870a495cad72e561b154862454844ea57d3 (diff) |
/history-range.
Implementing the "lib" and "testing-lib" functions to use it.
Diffstat (limited to 'src/bank-lib/fakebank.c')
-rw-r--r-- | src/bank-lib/fakebank.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/bank-lib/fakebank.c b/src/bank-lib/fakebank.c index 37aae0423..9915516cd 100644 --- a/src/bank-lib/fakebank.c +++ b/src/bank-lib/fakebank.c @@ -160,11 +160,12 @@ TALER_FAKEBANK_make_transfer (struct TALER_FAKEBANK_Handle *h, struct Transaction *t; GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, - "Making transfer from %llu to %llu over %s and subject %s\n", + "Making transfer from %llu to %llu over %s and subject %s; for exchange: %s\n", (unsigned long long) debit_account, (unsigned long long) credit_account, TALER_amount2s (amount), - subject); + subject, + exchange_base_url); t = GNUNET_new (struct Transaction); t->debit_account = debit_account; t->credit_account = credit_account; @@ -463,9 +464,11 @@ handle_admin_add_incoming (struct TALER_FAKEBANK_Handle *h, void *json_str; size_t json_len; - json = json_pack ("{s:I}", + json = json_pack ("{s:I, s:s}", "row_id", - (json_int_t) row_id); + (json_int_t) row_id, + "timestamp", "/Date(0)/"); /*dummy tmp */ + json_str = json_dumps (json, JSON_INDENT(2)); json_decref (json); |