automatically set 'type' in taler-exchange-wire

This commit is contained in:
Christian Grothoff 2016-04-15 20:08:19 +02:00
parent 663363fc0e
commit 480b9cdf39

View File

@ -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,