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;inum_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) ||