aboutsummaryrefslogtreecommitdiff
path: root/src/testing/testing_api_cmd_offline_sign_fees.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-10-27 21:59:04 +0200
committerChristian Grothoff <christian@grothoff.org>2021-10-27 21:59:04 +0200
commit382fb837bd43ec7de93c8e17404732b4c95ccaca (patch)
tree1737647cf5dc6872886919adfcb1034108225832 /src/testing/testing_api_cmd_offline_sign_fees.c
parentb449c7353ef5d789500244c790bae5affedf0ee7 (diff)
downloadexchange-382fb837bd43ec7de93c8e17404732b4c95ccaca.tar.xz
-work on testing FTBFS
Diffstat (limited to 'src/testing/testing_api_cmd_offline_sign_fees.c')
-rw-r--r--src/testing/testing_api_cmd_offline_sign_fees.c14
1 files changed, 2 insertions, 12 deletions
diff --git a/src/testing/testing_api_cmd_offline_sign_fees.c b/src/testing/testing_api_cmd_offline_sign_fees.c
index 500953202..95f52a00b 100644
--- a/src/testing/testing_api_cmd_offline_sign_fees.c
+++ b/src/testing/testing_api_cmd_offline_sign_fees.c
@@ -134,7 +134,7 @@ offlinesign_cleanup (void *cls,
* @param index index number of the object to offer.
* @return #GNUNET_OK on success.
*/
-static int
+static enum GNUNET_GenericReturnValue
offlinesign_traits (void *cls,
const void **ret,
const char *trait,
@@ -142,8 +142,7 @@ offlinesign_traits (void *cls,
{
struct OfflineSignState *ks = cls;
struct TALER_TESTING_Trait traits[] = {
- TALER_TESTING_make_trait_process (0,
- &ks->offlinesign_proc),
+ TALER_TESTING_make_trait_process (&ks->offlinesign_proc),
TALER_TESTING_trait_end ()
};
@@ -154,15 +153,6 @@ offlinesign_traits (void *cls,
}
-/**
- * Sign a wire fee.
- *
- * @param label command label.
- * @param config_filename configuration filename.
- * @param wire_fee the wire fee to affirm (for the current year)
- * @param closing_fee the closing fee to affirm (for the current year)
- * @return the command
- */
struct TALER_TESTING_Command
TALER_TESTING_cmd_exec_offline_sign_fees (const char *label,
const char *config_filename,