diff options
author | Fournier Nicolas <nicolas.fournier@ensta-paristech.fr> | 2015-06-12 12:12:44 +0200 |
---|---|---|
committer | Fournier Nicolas <nicolas.fournier@ensta-paristech.fr> | 2015-06-12 12:12:44 +0200 |
commit | b1e0dd8b7ec7af8e478d67ef49c60bd2d0774864 (patch) | |
tree | fb680223b0df188ef1417b054b967fda16e15aec /src/mintdb/test_mintdb.c | |
parent | b1210fa824c7b8488f83bc8ea38de8537948d8ee (diff) | |
parent | cf8d6711e8e8557f32129ce60ff897c035b63769 (diff) |
Merge branch 'master' of taler.net:/var/git/mint
Diffstat (limited to 'src/mintdb/test_mintdb.c')
-rw-r--r-- | src/mintdb/test_mintdb.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 != |