diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-05-27 14:34:57 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-05-27 14:34:57 +0200 |
commit | 172e8494b9742eebdecb5bd2af148418434e9e37 (patch) | |
tree | 4422ab7258664c124085cb8e673cf5ba16e9cd35 /src/exchangedb/test_exchangedb.c | |
parent | 2f5e58f3c7c9cdfe1d272073a9398a4bd54c6386 (diff) | |
download | exchange-172e8494b9742eebdecb5bd2af148418434e9e37.tar.xz |
a first step towards normalizing the DB a bit and not storing data redundantly
Diffstat (limited to 'src/exchangedb/test_exchangedb.c')
-rw-r--r-- | src/exchangedb/test_exchangedb.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/exchangedb/test_exchangedb.c b/src/exchangedb/test_exchangedb.c index 8339a8f24..8ee2f5ed3 100644 --- a/src/exchangedb/test_exchangedb.c +++ b/src/exchangedb/test_exchangedb.c @@ -1276,8 +1276,7 @@ run (void *cls) refund.transaction_id = deposit.transaction_id; refund.rtransaction_id = GNUNET_CRYPTO_random_u64 (GNUNET_CRYPTO_QUALITY_WEAK, UINT64_MAX); refund.refund_amount = deposit.amount_with_fee; - GNUNET_assert (GNUNET_OK == - TALER_amount_get_zero (CURRENCY, &refund.refund_fee)); + refund.refund_fee = fee_refund; FAILIF (GNUNET_OK != plugin->insert_refund (plugin->cls, session, |