From 480b9cdf39d9a7a0597db2484920602add45d187 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 15 Apr 2016 20:08:19 +0200 Subject: automatically set 'type' in taler-exchange-wire --- src/exchange-tools/taler-exchange-wire.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/exchange-tools/taler-exchange-wire.c') diff --git a/src/exchange-tools/taler-exchange-wire.c b/src/exchange-tools/taler-exchange-wire.c index c57e45f09..7623ea373 100644 --- a/src/exchange-tools/taler-exchange-wire.c +++ b/src/exchange-tools/taler-exchange-wire.c @@ -154,6 +154,9 @@ main (int argc, (unsigned int) err.position); return 1; } + json_object_set_new (j, + "type", + json_string (method)); key.eddsa_priv = *eddsa_priv; GNUNET_CRYPTO_random_block (GNUNET_CRYPTO_QUALITY_NONCE, &salt, -- cgit v1.2.3