aboutsummaryrefslogtreecommitdiff
path: root/src/mint-lib
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-07-20 14:04:23 +0200
committerChristian Grothoff <christian@grothoff.org>2015-07-20 14:04:23 +0200
commitcf82f211a49ec9cbddeedd6ad27dc69bba89d075 (patch)
tree1aacb3e3a309f77fddaa4e432a3860c926be918f /src/mint-lib
parent2cd4d6a4736affc4d10af9d4b285c681bda34835 (diff)
fix
Diffstat (limited to 'src/mint-lib')
-rw-r--r--src/mint-lib/test_mint_api.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mint-lib/test_mint_api.c b/src/mint-lib/test_mint_api.c
index a9d835549..29ccd1e5d 100644
--- a/src/mint-lib/test_mint_api.c
+++ b/src/mint-lib/test_mint_api.c
@@ -705,6 +705,7 @@ find_pk (const struct TALER_MINT_Keys *keys,
str = TALER_amount_to_string (amount);
for (i=0;i<keys->num_denom_keys;i++)
{
+ pk = &keys->denom_keys[i];
if ( (0 == TALER_amount_cmp (amount,
&pk->value)) &&
( (now.abs_value_us < pk->valid_from.abs_value_us) ||