Browse Source

Change to simply use KMDheight-5 instead of notarized height.

blackjok3r
blackjok3r 6 years ago
parent
commit
b5bce2acc6
  1. 4
      iguana/dpow/dpow_rpc.c

4
iguana/dpow/dpow_rpc.c

@ -307,10 +307,10 @@ int32_t dpow_paxpending(struct supernet_info *myinfo,uint8_t *hex,int32_t hexsiz
kmdcoin = bp->destcoin;
if ( (infojson= dpow_getinfo(myinfo,kmdcoin)) != 0 )
{
kmdheight = jint(infojson,"notarized");
kmdheight = jint(infojson,"blocks");
free_json(infojson);
}
if ( (retjson= dpow_MoMoMdata(kmdcoin,bp->srccoin->symbol,kmdheight,bp->CCid)) != 0 )
if ( (retjson= dpow_MoMoMdata(kmdcoin,bp->srccoin->symbol,kmdheight-5,bp->CCid)) != 0 )
{
if ( jstr(retjson,"error") != 0 )
{

Loading…
Cancel
Save