summaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-httpd_wire.c
diff options
context:
space:
mode:
authorChristian Grothoff <grothoff@gnunet.org>2022-04-11 13:52:06 +0200
committerChristian Grothoff <grothoff@gnunet.org>2022-04-11 13:52:06 +0200
commit72dd9514aac1b59b81fc695b734de518cef1845b (patch)
tree61c8dbb78bc0b979d6331924f60f504a34c6200d /src/exchange/taler-exchange-httpd_wire.c
parentf9971faa7a6fa5e5e7aa5ee6acdad3d45cfeea1b (diff)
downloadexchange-72dd9514aac1b59b81fc695b734de518cef1845b.tar.gz
exchange-72dd9514aac1b59b81fc695b734de518cef1845b.tar.bz2
exchange-72dd9514aac1b59b81fc695b734de518cef1845b.zip
-draft implementation of /purses//merge endpoint
Diffstat (limited to 'src/exchange/taler-exchange-httpd_wire.c')
-rw-r--r--src/exchange/taler-exchange-httpd_wire.c16
1 files changed, 14 insertions, 2 deletions
diff --git a/src/exchange/taler-exchange-httpd_wire.c b/src/exchange/taler-exchange-httpd_wire.c
index e1adde22a..cbd0f6400 100644
--- a/src/exchange/taler-exchange-httpd_wire.c
+++ b/src/exchange/taler-exchange-httpd_wire.c
@@ -158,11 +158,13 @@ make_ec_reply (enum TALER_ErrorCode ec,
const char *detail)
{
return GNUNET_JSON_PACK (
- GNUNET_JSON_pack_uint64 ("code", ec),
+ GNUNET_JSON_pack_uint64 ("code",
+ ec),
GNUNET_JSON_pack_string ("hint",
TALER_ErrorCode_get_hint (ec)),
GNUNET_JSON_pack_allow_null (
- GNUNET_JSON_pack_string ("detail", detail)));
+ GNUNET_JSON_pack_string ("detail",
+ detail)));
}
@@ -421,4 +423,14 @@ TEH_handler_wire (struct TEH_RequestContext *rc,
}
+const struct TALER_WireFeeSet *
+TEH_wire_fees_by_time (
+ struct GNUNET_TIME_Timestamp ts,
+ const char *method)
+{
+ GNUNET_break (0); // FIXME: implement!
+ return NULL;
+}
+
+
/* end of taler-exchange-httpd_wire.c */