aboutsummaryrefslogtreecommitdiff
path: root/src/mintdb/test_mintdb.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-06-12 11:57:10 +0200
committerChristian Grothoff <christian@grothoff.org>2015-06-12 11:57:10 +0200
commitcf8d6711e8e8557f32129ce60ff897c035b63769 (patch)
tree566b9c76e3a890011c4d918a9bafb536642e308a /src/mintdb/test_mintdb.c
parentc80435c815e902f6df8826b99809b24abeef95d3 (diff)
downloadexchange-cf8d6711e8e8557f32129ce60ff897c035b63769.tar.xz
implementing #3819
Diffstat (limited to 'src/mintdb/test_mintdb.c')
-rw-r--r--src/mintdb/test_mintdb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mintdb/test_mintdb.c b/src/mintdb/test_mintdb.c
index a6add0286..ad632ee3f 100644
--- a/src/mintdb/test_mintdb.c
+++ b/src/mintdb/test_mintdb.c
@@ -239,9 +239,9 @@ run (void *cls,
goto drop;
}
RND_BLK (&reserve_pub);
- amount.value = 1;
- amount.fraction = 1;
- strcpy (amount.currency, CURRENCY);
+ GNUNET_assert (GNUNET_OK ==
+ TALER_string_to_amount (CURRENCY ":1.000001",
+ &amount));
result = 4;
just = json_loads ("{ \"justification\":\"1\" }", 0, NULL);
FAILIF (GNUNET_OK !=