From 2e2cf6041c9532a3c0371ffe45297c3538436159 Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 16 May 2016 21:56:40 -0500 Subject: [PATCH] test --- iguana/iguana_payments.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/iguana/iguana_payments.c b/iguana/iguana_payments.c index 232d5b51d..cc5b9520b 100755 --- a/iguana/iguana_payments.c +++ b/iguana/iguana_payments.c @@ -409,12 +409,14 @@ char *iguana_rawtxissue(struct supernet_info *myinfo,uint32_t rawtxtag,char *sym jaddnum(valsobj,"minconf",minconf); jaddnum(valsobj,"locktime",locktime); jadd(hexjson,"vals",valsobj); + jaddstr(hexjson,"agent","iguana"); + jaddstr(hexjson,"method","rawtx"); str = jprint(hexjson,1); init_hexbytes_noT((char *)buf,(uint8_t *)str,(int32_t)strlen(str)); free(str); reqjson = cJSON_CreateObject(); - jaddstr(reqjson,"agent","iguana"); - jaddstr(reqjson,"method","rawtx"); + jaddstr(reqjson,"agent","SuperNET"); + jaddstr(reqjson,"method","DHT"); jaddnum(reqjson,"plaintext",1); jaddnum(reqjson,"request",1); jaddnum(reqjson,"timeout",5000);