die more nicely if we are called when we should not be

This commit is contained in:
Christian Grothoff 2020-02-24 12:21:46 +01:00
parent bb0952ac8d
commit 7ee3c485bd
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -1334,6 +1334,7 @@ recoup_cb (void *cls,
{ {
const struct TALER_DenominationBlindingKeyP *cb = cls; const struct TALER_DenominationBlindingKeyP *cb = cls;
FAILIF (NULL == cb);
FAILIF (0 != GNUNET_memcmp (cb, FAILIF (0 != GNUNET_memcmp (cb,
coin_blind)); coin_blind));
return GNUNET_OK; return GNUNET_OK;