diff --git a/iguana/iguana_notary.c b/iguana/iguana_notary.c index 9f4aa22cc..8afa3da94 100755 --- a/iguana/iguana_notary.c +++ b/iguana/iguana_notary.c @@ -564,7 +564,7 @@ void dpow_txidupdate(struct supernet_info *myinfo,struct dpow_info *dp,struct ig continue; for (j=0; j numnotaries/2 ) state = 3; break; case 3: // create rawtx, sign, send rawtx + sig to all other nodes dpow_txidupdate(myinfo,dp,coin,recvmaskp,channel,heightmsg,notaries,numnotaries,myind,hashmsg); k = 0; + printf("STATE3: RECVMASK.%llx\n",(long long)*recvmaskp); if ( bitweight(*recvmaskp) > numnotaries/2+1 ) { + printf("too many entries, prune to %d\n",numnotaries/2+1); mask = 0; for (j=m=0; jdestupdated = 0; printf("sendrawtransaction.(%s)\n",retstr); free(retstr); } @@ -791,7 +796,6 @@ void dpow_srcupdate(struct supernet_info *myinfo,struct dpow_info *dp,int32_t he if ( OS_thread_create(malloc(sizeof(pthread_t)),NULL,(void *)dpow_statemachinestart,(void *)ptrs) != 0 ) { } - dp->destupdated = 0; } }