This commit is contained in:
jl777
2016-10-24 14:24:49 -03:00
parent cc87f1467b
commit 1d8bddf724

View File

@@ -405,7 +405,7 @@ Value paxprice(const Array& params, bool fHelp)
else
{
CBlockIndex *pblockindex = chainActive[height];
item.push_back(Pair("timestamp", (int64_t)pblockindex->nTime));
ret.push_back(Pair("timestamp", (int64_t)pblockindex->nTime));
if ( basevolume != 0 && relvolume != 0 )
{
ret.push_back(Pair("price",((double)relvolume / (double)basevolume)));