aboutsummaryrefslogtreecommitdiff
path: root/src/exchangedb/test_exchangedb_fees.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-01-01 23:26:34 +0100
committerChristian Grothoff <christian@grothoff.org>2018-01-01 23:28:19 +0100
commitff0d4bb6eb99d446a891b97b9fa48027b3b553b2 (patch)
treea3508b0d2e11b84a9454ae7854bb85b3a82fb3e7 /src/exchangedb/test_exchangedb_fees.c
parent2d08d612f6802f9a369755267bf4a113cdc8d871 (diff)
add TALER_EXCHANGE_refund2, make sure fee test initializes all amounts; update ChangeLog
Diffstat (limited to 'src/exchangedb/test_exchangedb_fees.c')
-rw-r--r--src/exchangedb/test_exchangedb_fees.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/exchangedb/test_exchangedb_fees.c b/src/exchangedb/test_exchangedb_fees.c
index 2bee77452..0c9eceaf1 100644
--- a/src/exchangedb/test_exchangedb_fees.c
+++ b/src/exchangedb/test_exchangedb_fees.c
@@ -86,6 +86,9 @@ main (int argc,
GNUNET_assert (GNUNET_OK ==
TALER_string_to_amount ("EUR:1.0",
&af->wire_fee));
+ GNUNET_assert (GNUNET_OK ==
+ TALER_string_to_amount ("EUR:1.0",
+ &af->closing_fee));
sign_af (af,
priv);
n = GNUNET_new (struct TALER_EXCHANGEDB_AggregateFees);
@@ -94,6 +97,9 @@ main (int argc,
GNUNET_assert (GNUNET_OK ==
TALER_string_to_amount ("EUR:0.1",
&n->wire_fee));
+ GNUNET_assert (GNUNET_OK ==
+ TALER_string_to_amount ("EUR:0.1",
+ &n->closing_fee));
sign_af (n,
priv);
af->next = n;