diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-09-26 14:58:44 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-09-26 14:58:44 +0200 |
commit | df8c011b95cfaaf3040350f7b416c12f3771eb60 (patch) | |
tree | 4791a158ca261614fc1f51fc4d1079f5a8205614 /src/exchangedb/test_exchangedb.c | |
parent | 302a08b7018b18a18939d49e132ca8db78a2be9a (diff) | |
download | exchange-df8c011b95cfaaf3040350f7b416c12f3771eb60.tar.xz |
return execution time also from exchange C API (#4578)
Diffstat (limited to 'src/exchangedb/test_exchangedb.c')
-rw-r--r-- | src/exchangedb/test_exchangedb.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/exchangedb/test_exchangedb.c b/src/exchangedb/test_exchangedb.c index 9941494a9..00c7a9ef6 100644 --- a/src/exchangedb/test_exchangedb.c +++ b/src/exchangedb/test_exchangedb.c @@ -708,6 +708,7 @@ static void cb_wt_never (void *cls, const struct TALER_MerchantPublicKeyP *merchant_pub, const struct GNUNET_HashCode *h_wire, + struct GNUNET_TIME_Absolute exec_time, const struct GNUNET_HashCode *h_contract, uint64_t transaction_id, const struct TALER_CoinSpendPublicKeyP *coin_pub, @@ -751,6 +752,7 @@ static void cb_wt_check (void *cls, const struct TALER_MerchantPublicKeyP *merchant_pub, const struct GNUNET_HashCode *h_wire, + struct GNUNET_TIME_Absolute exec_time, const struct GNUNET_HashCode *h_contract, uint64_t transaction_id, const struct TALER_CoinSpendPublicKeyP *coin_pub, @@ -764,6 +766,7 @@ cb_wt_check (void *cls, GNUNET_assert (0 == memcmp (h_wire, &h_wire_wt, sizeof (struct GNUNET_HashCode))); + GNUNET_assert (exec_time.abs_value_us == execution_time_wt.abs_value_us); GNUNET_assert (0 == memcmp (h_contract, &h_contract_wt, sizeof (struct GNUNET_HashCode))); |