diff --git a/gecko/gecko.c b/gecko/gecko.c index 8de1611bf..a3186f5b8 100755 --- a/gecko/gecko.c +++ b/gecko/gecko.c @@ -180,8 +180,8 @@ struct iguana_info *basilisk_geckochain(struct supernet_info *myinfo,char *symbo virt->enableCACHE = 1; serialized = get_dataptr(BASILISK_HDROFFSET,&ptr,&datalen,hexbuf,sizeof(hexbuf),hexstr); iguana_chaininit(myinfo,virt->chain,1,valsobj); - //if ( virt->FULLNODE >= 0 ) - // virt->chain->userpass[0] = 0; + if ( virt->FULLNODE >= 0 ) + virt->chain->userpass[0] = 0; virt->chain->isPoS = 1; hdrsize = (virt->chain->zcash != 0) ? sizeof(struct iguana_msgzblockhdr) : sizeof(struct iguana_msgblockhdr); if ( gecko_blocknonce_verify(virt,serialized,hdrsize,virt->chain->nBits,0,0) > 0 ) diff --git a/iguana/iguana777.c b/iguana/iguana777.c index 03c6de357..b8284fc27 100755 --- a/iguana/iguana777.c +++ b/iguana/iguana777.c @@ -58,8 +58,8 @@ struct iguana_info *iguana_coinadd(char *symbol,char *name,cJSON *argjson,int32_ else { coin->chain = iguana_chainfind(myinfo,(char *)symbol,argjson,1); - //if ( coin->FULLNODE >= 0 ) - // coin->chain->userpass[0] = 0; + if ( coin->FULLNODE >= 0 ) + coin->chain->userpass[0] = 0; coin->peers = calloc(1,sizeof(*coin->peers)); for (j=0; jname,"illegalcoin"); - //if ( coin->FULLNODE >= 0 ) - // coin->chain->userpass[0] = 0; + if ( coin->FULLNODE >= 0 ) + coin->chain->userpass[0] = 0; coin->symbol[0] = 0; return(0); }