This commit is contained in:
jl777
2016-10-26 10:24:22 -03:00
parent aa96c787fa
commit 47e5cbc130
3 changed files with 18 additions and 9 deletions

View File

@@ -49,9 +49,14 @@ void komodo_gateway_voutupdate(char *symbol,int32_t height,int32_t txi,int32_t v
else
{
offset += komodo_scriptitemlen(&opretlen,&script[offset]);
printf("offset.%d opretlen.%d\n",offset,opretlen);
typestr = komodo_opreturn(height,&script[offset],opretlen);
komodo_stateupdate(0,0,0,0,zero,0,0,0,0,0,&script[offset],opretlen);
if ( script[offset] == 'P' )
komodo_paxpricefeed(&script[++offset]);
else
{
printf("offset.%d opretlen.%d\n",offset,opretlen);
typestr = komodo_opreturn(height,&script[offset],opretlen);
komodo_stateupdate(0,0,0,0,zero,0,0,0,0,0,&script[offset],opretlen);
}
}
}
else if ( numvouts > 13 )