|
@ -226,7 +226,7 @@ bits256 dpow_notarytx(char *signedtx,int32_t *numsigsp,int32_t isPoS,struct dpow |
|
|
len += iguana_rwnum(1,&serialized[len],sizeof(version),&version); |
|
|
len += iguana_rwnum(1,&serialized[len],sizeof(version),&version); |
|
|
if ( isPoS != 0 ) |
|
|
if ( isPoS != 0 ) |
|
|
len += iguana_rwnum(1,&serialized[len],sizeof(bp->timestamp),&bp->timestamp); |
|
|
len += iguana_rwnum(1,&serialized[len],sizeof(bp->timestamp),&bp->timestamp); |
|
|
m = bp->minsigs; |
|
|
m = 0;//bp->minsigs;
|
|
|
len += iguana_rwvarint32(1,&serialized[len],(uint32_t *)&m); |
|
|
len += iguana_rwvarint32(1,&serialized[len],(uint32_t *)&m); |
|
|
for (j=m=0; j<bp->numnotaries; j++) |
|
|
for (j=m=0; j<bp->numnotaries; j++) |
|
|
{ |
|
|
{ |
|
@ -495,7 +495,7 @@ void dpow_sigscheck(struct supernet_info *myinfo,struct dpow_info *dp,struct dpo |
|
|
printf("NULL return from sendrawtransaction. abort\n"); |
|
|
printf("NULL return from sendrawtransaction. abort\n"); |
|
|
bp->state = 0xffffffff; |
|
|
bp->state = 0xffffffff; |
|
|
} |
|
|
} |
|
|
} |
|
|
} else printf("numsigs.%d vs required.%d\n",numsigs,bp->minsigs); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|