summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-06-16 17:40:04 +0200
committerChristian Grothoff <christian@grothoff.org>2021-06-16 17:40:04 +0200
commitbf7adbfa2ea06753b099679b4e15a6015d4db3ff (patch)
tree0fb5f81fd87116edc0e4f3d366318833d9678263
parentae7b5951c1bcee108a3ee03bf97f426640aa996f (diff)
downloadexchange-bf7adbfa2ea06753b099679b4e15a6015d4db3ff.tar.gz
exchange-bf7adbfa2ea06753b099679b4e15a6015d4db3ff.tar.bz2
exchange-bf7adbfa2ea06753b099679b4e15a6015d4db3ff.zip
-remove dead leaky code
-rw-r--r--src/json/json.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/json/json.c b/src/json/json.c
index a730e1e4..faae36d6 100644
--- a/src/json/json.c
+++ b/src/json/json.c
@@ -321,11 +321,6 @@ TALER_JSON_contract_hash (const json_t *json,
GNUNET_break (0);
return GNUNET_SYSERR;
}
-
- char *enc = json_dumps (cjson,
- JSON_ENCODE_ANY
- | JSON_COMPACT
- | JSON_SORT_KEYS);
ret = dump_and_hash (cjson,
NULL,
hc);