From 259fda77bae872d5521794fd91bed9bf09caa8c7 Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 16 May 2016 17:57:43 -0500 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 9807d054f..ae0abda9a 100755 --- a/iguana/SuperNET.c +++ b/iguana/SuperNET.c @@ -485,7 +485,7 @@ int32_t iguana_send_supernet(struct iguana_info *coin,struct iguana_peer *addr,c { if ( 1 && jstr(json,"method") != 0 && strcmp("getpeers",jstr(json,"method")) != 0 ) printf("SUPERSEND -> (%s) (%s) delaymillis.%d datalen.%d checkc.%x\n",jprint(SuperNET_bits2json(&serialized[sizeof(struct iguana_msghdr)],datalen),1),addr->ipaddr,delaymillis,datalen,checkc); - if ( 1 && memcmp(destpub.bytes,GENESIS_PUBKEY.bytes,sizeof(destpub)) == 0 ) + if ( 0 && memcmp(destpub.bytes,GENESIS_PUBKEY.bytes,sizeof(destpub)) == 0 ) qlen = iguana_queue_send(coin,addr,delaymillis,serialized,"SuperNET",datalen,0,0); else { @@ -774,7 +774,7 @@ char *SuperNET_p2p(struct iguana_info *coin,struct iguana_peer *addr,int32_t *de int32_t i; for (i=0; iipaddr); - //addr->validpub = 0; + addr->validpub >>= 1; return(0); } else { char str[65]; printf("GENESIS recv %s\n",bits256_str(str,senderpub)); } } else printf("GENESIS recv GENESIS\n");