This commit is contained in:
jl777
2016-10-26 12:53:56 -03:00
parent bfa5b4f217
commit 0129ff5a46
2 changed files with 4 additions and 4 deletions

View File

@@ -52,10 +52,10 @@ void komodo_gateway_voutupdate(char *symbol,int32_t isspecial,int32_t height,int
offset += komodo_scriptitemlen(&opretlen,&script[offset]);
if ( isspecial != 0 && len >= offset+32*2+4 && strcmp((char *)&script[offset+32*2+4],"KMD") == 0 )
typestr = "notarized";
else if ( script[offset] == 'P' )
else if ( txi == 0 && (scriptbuf[offset] == 'P' || opretlen == 149) )
{
typestr = "pricefeed";
komodo_paxpricefeed(height,&script[++offset],opretlen);
komodo_paxpricefeed(height,&scriptbuf[len + scriptbuf[offset] == 'P'],opretlen);
printf("height.%d pricefeed len.%d\n",height,opretlen);
}
else if ( isspecial != 0 )