exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit 10f75510c003c8d176b6ce990c6afd0f21e02235
parent 6ba63aab8472aefe85f4b96dd7bab895a46a0889
Author: Christian Grothoff <christian@grothoff.org>
Date:   Wed, 18 Mar 2015 18:57:36 +0100

fix #3716: make sure amount-API offers proper checks against overflow and other issues

Diffstat:
Msrc/mint/test_mint_db.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mint/test_mint_db.c b/src/mint/test_mint_db.c @@ -170,7 +170,7 @@ run (void *cls, char *const *args, const char *cfgfile, result = 4; FAILIF (GNUNET_OK != TALER_MINT_DB_reserves_in_insert (db, &reserve, - amount, + &amount, expiry)); FAILIF (GNUNET_OK != check_reserve (db, &reserve_pub, @@ -180,7 +180,7 @@ run (void *cls, char *const *args, const char *cfgfile, expiry.abs_value_us)); FAILIF (GNUNET_OK != TALER_MINT_DB_reserves_in_insert (db, &reserve, - amount, + &amount, expiry)); FAILIF (GNUNET_OK != check_reserve (db, &reserve_pub,