diff --git a/gecko/gecko.c b/gecko/gecko.c index a1a72a71f..ef73a2b61 100755 --- a/gecko/gecko.c +++ b/gecko/gecko.c @@ -47,7 +47,7 @@ void gecko_iteration(struct supernet_info *myinfo,struct iguana_info *btcd,struc char mineraddr[64]; int32_t hwmhdrsi,longesthdrsi; hwmhdrsi = virt->blocks.hwmchain.height / virt->chain->bundlesize; longesthdrsi = virt->longestchain / virt->chain->bundlesize; - if ( hwmhdrsi <= longesthdrsi )//&& virt->blocks.hwmchain.height < virt->longestchain-1 ) + if ( 0 && hwmhdrsi <= longesthdrsi )//&& virt->blocks.hwmchain.height < virt->longestchain-1 ) { if ( time(NULL) > virt->hdrstime+3 ) { diff --git a/gecko/gecko_miner.c b/gecko/gecko_miner.c index 171e087f0..c5f586719 100755 --- a/gecko/gecko_miner.c +++ b/gecko/gecko_miner.c @@ -378,9 +378,9 @@ void gecko_miner(struct supernet_info *myinfo,struct iguana_info *btcd,struct ig free(blockstr); else { - //virt->newblockstr = blockstr; - //virt->newblock = newblock; - free(blockstr); + virt->newblockstr = blockstr; + virt->newblock = newblock; + //free(blockstr); } } else printf("didnt find %s.block\n",virt->symbol); if ( txptrs != (void *)space )