-logic fixed
This commit is contained in:
parent
4ba07b54e4
commit
4154a0c466
@ -282,6 +282,10 @@ TEH_handler_deposit (struct MHD_Connection *connection,
|
||||
return MHD_YES; /* failure */
|
||||
}
|
||||
}
|
||||
|
||||
/* set the state of the policy presence in the deposit struct */
|
||||
deposit.has_policy_details = ! no_policy_details;
|
||||
|
||||
/* validate merchant's wire details (as far as we can) */
|
||||
{
|
||||
char *emsg;
|
||||
@ -330,8 +334,7 @@ TEH_handler_deposit (struct MHD_Connection *connection,
|
||||
dc.deposit = &deposit;
|
||||
|
||||
/* Check policy */
|
||||
deposit.has_policy_details = ! no_policy_details;
|
||||
if (! deposit.has_policy_details)
|
||||
if (deposit.has_policy_details)
|
||||
{
|
||||
const char *error_hint = NULL;
|
||||
if (GNUNET_OK !=
|
||||
|
Loading…
Reference in New Issue
Block a user