Skip to content

Commit

Permalink
Merge pull request #767 from jl777/jl777
Browse files Browse the repository at this point in the history
MoMoM for PIZZA only
  • Loading branch information
jl777 authored Apr 14, 2018
2 parents 1f736e3 + 579ac0d commit ca0df00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iguana/dpow/dpow_rpc.c
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ int32_t dpow_paxpending(uint8_t *hex,int32_t hexsize,uint32_t *paxwdcrcp,bits256
{
n += iguana_rwbignum(1,&hex[n],sizeof(MoM),MoM.bytes);
n += iguana_rwnum(1,&hex[n],sizeof(MoMdepth),(uint32_t *)&MoMdepth);
if ( src_or_dest == 0 && strcmp(bp->destcoin->symbol,"KMD") == 0 )
if ( strcmp(bp->srccoin->symbol,"PIZZA") == 0 && src_or_dest == 0 && strcmp(bp->destcoin->symbol,"KMD") == 0 )
{
kmdcoin = bp->destcoin;
if ( (bp->height % 10) == 0 && kmdcoin->lastbestheight > 100 && (retjson= dpow_MoMoMdata(kmdcoin,bp->srccoin->symbol,(kmdcoin->lastbestheight/10)*10 - 5)) != 0 )
Expand Down

0 comments on commit ca0df00

Please sign in to comment.