Browse Source

a

blackjok3r
blackjok3r 6 years ago
parent
commit
2a089459f4
  1. 4
      iguana/dpow/dpow_rpc.c
  2. 2
      iguana/iguana_notary.c

4
iguana/dpow/dpow_rpc.c

@ -288,8 +288,8 @@ int32_t dpow_paxpending(struct supernet_info *myinfo,uint8_t *hex,int32_t hexsiz
n += iguana_rwbignum(1,&hex[n],sizeof(MoM),MoM.bytes);
MoMdepth = (MoMdepth & 0xffff) | ((uint32_t)CCid<<16);
n += iguana_rwnum(1,&hex[n],sizeof(MoMdepth),(uint32_t *)&MoMdepth);
//( || (strncmp(bp->srccoin->symbol, "STAKED", 6) == 0) )
if ( (strncmp(bp->srccoin->symbol, "STKD", 4) == 0) && src_or_dest == 0 && strcmp(bp->destcoin->symbol,"KMD") == 0 )
//( )
if ( ( (strncmp(bp->srccoin->symbol, "STKD", 4) == 0) || (strncmp(bp->srccoin->symbol, "STAKED", 6) == 0) ) && src_or_dest == 0 && strcmp(bp->destcoin->symbol,"KMD") == 0 )
{
kmdcoin = bp->destcoin;
if ( (infojson= dpow_getinfo(myinfo,kmdcoin)) != 0 )

2
iguana/iguana_notary.c

@ -67,7 +67,7 @@ void dpow_srcupdate(struct supernet_info *myinfo,struct dpow_info *dp,int32_t he
dpow_fifoupdate(myinfo,dp->srcfifo,dp->last);
if ( strcmp(dp->dest,"KMD") == 0 )
{
if ( dp->DESTHEIGHT < dp->prevDESTHEIGHT+checkpointfreq )
if ( dp->DESTHEIGHT < dp->prevDESTHEIGHT+DPOW_CHECKPOINTFREQ )
{
if ( strncmp(dp->symbol, "STKD", 4) == 0) || strncmp(dp->symbol, "STAKED", 6) == 0) )
suppress = 0;

Loading…
Cancel
Save