|
|
@ -224,7 +224,7 @@ int32_t dpow_voutstandard(struct dpow_block *bp,uint8_t *serialized,int32_t m,in |
|
|
|
} |
|
|
|
printf("numvouts.%d len.%d RATIFY vouts\n",numvouts,len); |
|
|
|
} |
|
|
|
if ( 0 && (src_or_dest == 0 || strcmp(bp->destcoin->symbol,"BTC") != 0) && (n= dpow_paxpending(extras,&paxwdcrc)) > 0 ) |
|
|
|
if ( 0 && (src_or_dest == 0 || strcmp(bp->destcoin->symbol,"BTC") != 0) && (n= dpow_paxpending(extras,&paxwdcrc,bp->MoM,bp->MoMdepth)) > 0 ) |
|
|
|
{ |
|
|
|
for (i=0; i<n; i++) |
|
|
|
printf("%02x",extras[i]); |
|
|
@ -232,8 +232,9 @@ int32_t dpow_voutstandard(struct dpow_block *bp,uint8_t *serialized,int32_t m,in |
|
|
|
} |
|
|
|
else if ( Notaries_port != DPOW_SOCKPORT && bp->MoMdepth > 0 && strcmp(bp->destcoin->symbol,"KMD") == 0 ) // only testnets for now
|
|
|
|
{ |
|
|
|
n += iguana_rwbignum(1,&extras[n],sizeof(bp->MoM),bp->MoM.bytes); |
|
|
|
n += iguana_rwnum(1,&extras[n],sizeof(bp->MoMdepth),(uint32_t *)&bp->MoMdepth); |
|
|
|
n = dpow_paxpending(extras,&paxwdcrc,bp->MoM,bp->MoMdepth); |
|
|
|
//n += iguana_rwbignum(1,&extras[n],sizeof(bp->MoM),bp->MoM.bytes);
|
|
|
|
//n += iguana_rwnum(1,&extras[n],sizeof(bp->MoMdepth),(uint32_t *)&bp->MoMdepth);
|
|
|
|
} |
|
|
|
satoshis = 0; |
|
|
|
len += iguana_rwnum(1,&serialized[len],sizeof(satoshis),&satoshis); |
|
|
|