add assertions in preparation of #5536
This commit is contained in:
parent
9413537e6d
commit
88e611d32b
@ -614,6 +614,7 @@ handle_refresh_reveal_json (struct MHD_Connection *connection,
|
||||
TALER_EC_REFRESH_REVEAL_FRESH_DENOMINATION_KEY_NOT_FOUND,
|
||||
"new_denoms");
|
||||
}
|
||||
GNUNET_assert (NULL != dkis[i]->denom_priv.rsa_private_key);
|
||||
}
|
||||
|
||||
/* Parse coin envelopes */
|
||||
|
@ -392,6 +392,7 @@ TEH_RESERVE_handler_reserve_withdraw (struct TEH_RequestHandler *rh,
|
||||
TALER_EC_WITHDRAW_DENOMINATION_KEY_NOT_FOUND,
|
||||
"denom_pub");
|
||||
}
|
||||
GNUNET_assert (NULL != wc.dki->denom_priv.rsa_private_key);
|
||||
TALER_amount_ntoh (&amount,
|
||||
&wc.dki->issue.properties.value);
|
||||
TALER_amount_ntoh (&fee_withdraw,
|
||||
|
Loading…
Reference in New Issue
Block a user