Browse Source

Test

z_createrawtransaction
jl777 5 years ago
parent
commit
bc66f9f707
  1. 2
      src/rpc/blockchain.cpp

2
src/rpc/blockchain.cpp

@ -1203,7 +1203,7 @@ UniValue prices(const UniValue& params, bool fHelp)
throw JSONRPCError(RPC_INVALID_PARAMETER, "illegal numpricefeeds");
prices = (uint32_t *)calloc(sizeof(*prices),width*numpricefeeds);
correlated = (int64_t *)calloc(sizeof(*correlated),width);
prices2 = (int64_t *)calloc(sizeof(*prices2),width);
prices2 = (uint32_t *)calloc(sizeof(*prices2),width);
for (ht=nextheight-1,i=0; i<width&&ht>2*daywindow+2; i++,ht--)
{
if ( ht < 0 || ht > chainActive.Height() )

Loading…
Cancel
Save