This commit is contained in:
jl777
2019-04-02 04:39:01 -11:00
parent a589a789f1
commit 41748a83fc
2 changed files with 6 additions and 6 deletions

View File

@@ -1239,7 +1239,7 @@ UniValue prices(const UniValue& params, bool fHelp)
for (i=0; i<maxsamples+daywindow; i++)
{
offset = j*width + i;
memcpy(prices2,&prices[offset],sizeof(*prices2)*daywindow);
//memcpy(prices2,&prices[offset],sizeof(*prices2)*daywindow);
if ( (correlated[i]= komodo_pricecorrelated(seed,j,&prices[offset],daywindow,prices2)) < 0 )
throw JSONRPCError(RPC_INVALID_PARAMETER, "null correlated price");
}