From 8a60e6b62f173c1148686572e72ad552c3808325 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 7 Aug 2021 17:50:53 +0200 Subject: -fix fakebank/tewgc logic and add test case --- src/include/taler_bank_service.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/include') diff --git a/src/include/taler_bank_service.h b/src/include/taler_bank_service.h index c5d0e5cac..32a730b8e 100644 --- a/src/include/taler_bank_service.h +++ b/src/include/taler_bank_service.h @@ -304,8 +304,8 @@ struct TALER_BANK_CreditDetails * @param json detailed response from the HTTPD, or NULL if reply was not in JSON * @return #GNUNET_OK to continue, #GNUNET_SYSERR to abort iteration */ -typedef int -(*TALER_BANK_CreditHistoryCallback) ( +typedef enum GNUNET_GenericReturnValue +(*TALER_BANK_CreditHistoryCallback)( void *cls, unsigned int http_status, enum TALER_ErrorCode ec, @@ -414,8 +414,8 @@ struct TALER_BANK_DebitDetails * @param json detailed response from the HTTPD, or NULL if reply was not in JSON * @return #GNUNET_OK to continue, #GNUNET_SYSERR to abort iteration */ -typedef int -(*TALER_BANK_DebitHistoryCallback) ( +typedef enum GNUNET_GenericReturnValue +(*TALER_BANK_DebitHistoryCallback)( void *cls, unsigned int http_status, enum TALER_ErrorCode ec, -- cgit v1.2.3