summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-04-15 20:08:19 +0200
committerChristian Grothoff <christian@grothoff.org>2016-04-15 20:08:19 +0200
commit480b9cdf39d9a7a0597db2484920602add45d187 (patch)
tree3d66cf2d6f520eeac3f848554daf5510a42e540a
parent663363fc0ed39cfb24d94d17e75011d7da19150a (diff)
downloadexchange-480b9cdf39d9a7a0597db2484920602add45d187.tar.gz
exchange-480b9cdf39d9a7a0597db2484920602add45d187.tar.bz2
exchange-480b9cdf39d9a7a0597db2484920602add45d187.zip
automatically set 'type' in taler-exchange-wire
-rw-r--r--src/exchange-tools/taler-exchange-wire.c3
1 files changed, 3 insertions, 0 deletions
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,