From d73f6b55956a1c56ec9b2ec73dcdd718215df4f0 Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 21 Jan 2016 00:01:33 -0300 Subject: [PATCH] test --- iguana/SuperNET.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iguana/SuperNET.c b/iguana/SuperNET.c index ee7ef2814..36efd5d8a 100644 --- a/iguana/SuperNET.c +++ b/iguana/SuperNET.c @@ -262,7 +262,7 @@ int32_t SuperNET_json2bits(char *myipaddr,bits256 privkey,bits256 mypubkey,uint8 len += iguana_rwnum(1,&serialized[len],sizeof(uint32_t),&ipbits); len += iguana_rwnum(1,&serialized[len],sizeof(checkc),&checkc); len += iguana_rwnum(1,&serialized[len],sizeof(apinum),&apinum); - //len += iguana_rwnum(1,&serialized[len],sizeof(tag),&tag); + len += iguana_rwnum(1,&serialized[len],sizeof(tag),&tag); len += iguana_rwbignum(1,&serialized[len],sizeof(mypubkey),mypubkey.bytes); len += iguana_rwnum(1,&serialized[len],sizeof(othervalid),&othervalid); len += iguana_rwnum(1,&serialized[len],sizeof(broadcastflag),&broadcastflag); @@ -298,7 +298,7 @@ cJSON *SuperNET_bits2json(struct iguana_peer *addr,uint8_t *serialized,int32_t d len += iguana_rwnum(0,&serialized[len],sizeof(uint32_t),&myipbits); len += iguana_rwnum(0,&serialized[len],sizeof(checkc),&checkc); len += iguana_rwnum(0,&serialized[len],sizeof(apinum),&apinum); - //len += iguana_rwnum(0,&serialized[len],sizeof(tag),&tag); + len += iguana_rwnum(0,&serialized[len],sizeof(tag),&tag); len += iguana_rwbignum(0,&serialized[len],sizeof(bits256),senderpub.bytes); len += iguana_rwnum(0,&serialized[len],sizeof(othervalid),&othervalid); len += iguana_rwnum(0,&serialized[len],sizeof(broadcastflag),&broadcastflag);