-remove bogus tests
This commit is contained in:
parent
5c387b7d6e
commit
28969f415e
@ -902,19 +902,16 @@ help_deposit (struct CoinHistoryParseContext *pc,
|
||||
GNUNET_break_op (0);
|
||||
return GNUNET_SYSERR;
|
||||
}
|
||||
if (NULL != pc->dk)
|
||||
/* check that deposit fee matches our expectations from /keys! */
|
||||
if ( (GNUNET_YES !=
|
||||
TALER_amount_cmp_currency (&deposit_fee,
|
||||
&pc->dk->fees.deposit)) ||
|
||||
(0 !=
|
||||
TALER_amount_cmp (&deposit_fee,
|
||||
&pc->dk->fees.deposit)) )
|
||||
{
|
||||
/* check that deposit fee matches our expectations from /keys! */
|
||||
if ( (GNUNET_YES !=
|
||||
TALER_amount_cmp_currency (&deposit_fee,
|
||||
&pc->dk->fees.deposit)) ||
|
||||
(0 !=
|
||||
TALER_amount_cmp (&deposit_fee,
|
||||
&pc->dk->fees.deposit)) )
|
||||
{
|
||||
GNUNET_break_op (0);
|
||||
return GNUNET_SYSERR;
|
||||
}
|
||||
GNUNET_break_op (0);
|
||||
return GNUNET_SYSERR;
|
||||
}
|
||||
return GNUNET_YES;
|
||||
}
|
||||
|
@ -1630,7 +1630,6 @@ import_key (void *cls,
|
||||
GNUNET_log_strerror_file (GNUNET_ERROR_TYPE_WARNING,
|
||||
"open",
|
||||
filename);
|
||||
GNUNET_break (0 == close (fd));
|
||||
return GNUNET_OK;
|
||||
}
|
||||
if (0 != fstat (fd,
|
||||
|
Loading…
Reference in New Issue
Block a user