-remove bogus tests

This commit is contained in:
Christian Grothoff 2022-10-22 00:07:00 +02:00
parent 5c387b7d6e
commit 28969f415e
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC
2 changed files with 9 additions and 13 deletions

View File

@ -902,8 +902,6 @@ 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,
@ -915,7 +913,6 @@ help_deposit (struct CoinHistoryParseContext *pc,
GNUNET_break_op (0);
return GNUNET_SYSERR;
}
}
return GNUNET_YES;
}

View File

@ -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,