aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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) ||