Browse Source

test

blackjok3r
blackjok3r 6 years ago
parent
commit
cb8484d9f7
  1. 2
      iguana/dpow/dpow_rpc.c

2
iguana/dpow/dpow_rpc.c

@ -289,7 +289,7 @@ int32_t dpow_paxpending(struct supernet_info *myinfo,uint8_t *hex,int32_t hexsiz
MoMdepth = (MoMdepth & 0xffff) | ((uint32_t)CCid<<16);
n += iguana_rwnum(1,&hex[n],sizeof(MoMdepth),(uint32_t *)&MoMdepth);
if ( ( (strlen(bp->srccoin->symbol) >= 4 && strncmp(bp->srccoin->symbol, "STKD", 4) == 0) || (strlen(bp->srccoin->symbol) >= 6 && strncmp(bp->srccoin->symbol, "STAKED", 6) == 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 )

Loading…
Cancel
Save