From cf8d6711e8e8557f32129ce60ff897c035b63769 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 12 Jun 2015 11:57:10 +0200 Subject: implementing #3819 --- src/mintdb/test_mintdb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mintdb/test_mintdb.c') diff --git a/src/mintdb/test_mintdb.c b/src/mintdb/test_mintdb.c index a6add028..ad632ee3 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 != -- cgit v1.2.3