test
This commit is contained in:
@@ -405,7 +405,7 @@ Value paxprice(const Array& params, bool fHelp)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
CBlockIndex *pblockindex = chainActive[height];
|
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 )
|
if ( basevolume != 0 && relvolume != 0 )
|
||||||
{
|
{
|
||||||
ret.push_back(Pair("price",((double)relvolume / (double)basevolume)));
|
ret.push_back(Pair("price",((double)relvolume / (double)basevolume)));
|
||||||
|
|||||||
Reference in New Issue
Block a user