jl777 8 years ago
parent
commit
0c2cbb83ce
  1. 8
      iguana/iguana_notary.c

8
iguana/iguana_notary.c

@ -918,15 +918,15 @@ void dpow_statemachinestart(void *ptr)
if ( deststate != 0xffffffff ) if ( deststate != 0xffffffff )
{ {
printf("DEST.%08x %s\n",deststate,bits256_str(str,srchash.hash)); printf("DEST.%08x %s\n",deststate,bits256_str(str,srchash.hash));
deststate = 0xffffffff;//dpow_statemachineiterate(myinfo,dp,dest,deststate,srchash.hash,srchash.height,zero,notaries,n,myind,&recvmask,&signedtxid,signedtx,timestamp); deststate = dpow_statemachineiterate(myinfo,dp,dest,deststate,srchash.hash,srchash.height,zero,notaries,n,myind,&recvmask,&signedtxid,signedtx,timestamp);
} else printf("deststate.%08x\n",deststate); } else printf("deststate.%08x\n",deststate);
if ( deststate == 0xffffffff ) if ( deststate == 0xffffffff )
{ {
if ( srcstate != 0xffffffff ) if ( srcstate != 0xffffffff )
{ {
for (i=0; i<32; i++) //for (i=0; i<32; i++)
signedtxid.bytes[i] = i; // signedtxid.bytes[i] = i;
printf("SRC.%08x\n",srcstate); printf("SRC.%08x %s\n",srcstate,bits256_str(str,signedtxid));
srcstate = dpow_statemachineiterate(myinfo,dp,src,srcstate,srchash.hash,srchash.height,signedtxid,notaries,n,myind,&recvmask,&signedtxid2,signedtx2,timestamp); srcstate = dpow_statemachineiterate(myinfo,dp,src,srcstate,srchash.hash,srchash.height,signedtxid,notaries,n,myind,&recvmask,&signedtxid2,signedtx2,timestamp);
} }
} }

Loading…
Cancel
Save