diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-05-05 13:41:32 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-05-05 13:41:32 +0200 |
commit | 76545519c647b66ef99391b503f5d90fd4a43cb4 (patch) | |
tree | cf7fcda13826c5b00dc4e593ab25bf155792be80 /src/exchangedb/test_exchangedb.c | |
parent | 2c05a4b278096a9f222a472c0f022c66ad367059 (diff) | |
download | exchange-76545519c647b66ef99391b503f5d90fd4a43cb4.tar.xz |
updating DB schema for new wire history operations and future auditor checks of wire transfers
Diffstat (limited to 'src/exchangedb/test_exchangedb.c')
-rw-r--r-- | src/exchangedb/test_exchangedb.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/exchangedb/test_exchangedb.c b/src/exchangedb/test_exchangedb.c index 341d31f13..7c6c362db 100644 --- a/src/exchangedb/test_exchangedb.c +++ b/src/exchangedb/test_exchangedb.c @@ -1033,6 +1033,8 @@ audit_refund_cb (void *cls, * @param credit amount that was received * @param sender_account_details information about the sender's bank account * @param transfer_details information that uniquely identifies the wire transfer + * @param wire_reference unique reference identifying the wire transfer (binary blob) + * @param wire_reference_size number of bytes in @a wire_reference * @param execution_date when did we receive the funds * @return #GNUNET_OK to continue to iterate, #GNUNET_SYSERR to stop */ @@ -1043,6 +1045,8 @@ audit_reserve_in_cb (void *cls, const struct TALER_Amount *credit, const json_t *sender_account_details, const json_t *transfer_details, + const void *wire_reference, + size_t wire_reference_size, struct GNUNET_TIME_Absolute execution_date) { auditor_row_cnt++; @@ -1511,6 +1515,8 @@ run (void *cls) &value, GNUNET_TIME_absolute_get (), sndr, + "TEST", + 4, just)); json_decref (just); FAILIF (GNUNET_OK != @@ -1527,6 +1533,8 @@ run (void *cls) &value, GNUNET_TIME_absolute_get (), sndr, + "TEST2", + 5, just)); json_decref (just); json_decref (sndr); @@ -1642,8 +1650,8 @@ run (void *cls) 0, 0, value.currency)); - - json_decref (sndr); + + json_decref (sndr); result = 7; rh = plugin->get_reserve_history (plugin->cls, session, |