]> Git Repo - VerusCoin.git/blobdiff - src/rpcblockchain.cpp
Make GetSerializeSize a wrapper on top of CSizeComputer
[VerusCoin.git] / src / rpcblockchain.cpp
index 1c6c78bc2f90ed9583300214002e50c2e0f9b37b..2ef75a70ad3710d71f1e912e2547dd07cd52a02f 100644 (file)
@@ -753,7 +753,7 @@ UniValue getblockchaininfo(const UniValue& params, bool fHelp)
 
     ZCIncrementalMerkleTree tree;
     pcoinsTip->GetAnchorAt(pcoinsTip->GetBestAnchor(), tree);
-    obj.push_back(Pair("commitments",           tree.size()));
+    obj.push_back(Pair("commitments",           static_cast<uint64_t>(tree.size())));
 
     CBlockIndex* tip = chainActive.Tip();
     UniValue valuePools(UniValue::VARR);
This page took 0.02313 seconds and 4 git commands to generate.