Skip to content

Commit

Permalink
Merge pull request #109 from jl777/dev
Browse files Browse the repository at this point in the history
prevent non-notary price feed
  • Loading branch information
jl777 authored Jan 13, 2017
2 parents 393ce4e + d42d334 commit 8dc737b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/komodo.h
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,10 @@ int32_t komodo_voutupdate(int32_t *isratificationp,int32_t notaryid,uint8_t *scr
} else printf("notarized.%d %llx reject ht.%d NOTARIZED.%d %s.%s DESTTXID.%s (%s)\n",notarized,(long long)signedmask,height,*notarizedheightp,ASSETCHAINS_SYMBOL[0]==0?"KMD":ASSETCHAINS_SYMBOL,kmdtxid.ToString().c_str(),desttxid.ToString().c_str(),(char *)&scriptbuf[len]);
}
else if ( i == 0 && j == 1 && opretlen == 149 )
komodo_paxpricefeed(height,&scriptbuf[len],opretlen);
{
if ( notaryid >= 0 && notaryid < 64 )
komodo_paxpricefeed(height,&scriptbuf[len],opretlen);
}
else
{
int32_t k; for (k=0; k<scriptlen; k++)
Expand Down

0 comments on commit 8dc737b

Please sign in to comment.