jl777 8 years ago
parent
commit
d38ad3f79f
  1. 4
      iguana/iguana_notary.c
  2. 4
      iguana/main.c

4
iguana/iguana_notary.c

@ -670,8 +670,8 @@ int32_t dpow_numsigs(struct dpow_block *bp,int32_t lastk,uint64_t mask)
struct dpow_block *dpow_heightfind(struct supernet_info *myinfo,int32_t height,int32_t destflag)
{
if ( destflag != 0 )
return(myinfo->DPOW.destblocks[height]);
else return(myinfo->DPOW.srcblocks[height]);
return(myinfo->DPOW.destblocks!=0?myinfo->DPOW.destblocks[height]:0);
else return(myinfo->DPOW.srcblocks!=0?myinfo->DPOW.srcblocks[height]:0);
}
struct dpow_entry *dpow_notaryfind(struct supernet_info *myinfo,struct dpow_block *bp,uint8_t *senderpub)

4
iguana/main.c

@ -1585,8 +1585,8 @@ void iguana_main(void *arg)
myinfo = SuperNET_MYINFO(0);
libgfshare_init(myinfo,myinfo->logs,myinfo->exps);
myinfo->rpcport = IGUANA_RPCPORT;
myinfo->rpcport = IGUANA_NOTARYPORT;
myinfo->IAMNOTARY = 1;
//myinfo->rpcport = IGUANA_NOTARYPORT;
//myinfo->IAMNOTARY = 1;
if ( arg != 0 )
{
if ( strcmp((char *)arg,"OStests") == 0 )

Loading…
Cancel
Save