This commit is contained in:
blackjok3r
2018-10-24 00:05:28 +08:00
parent f376020ee6
commit f9bc9ee1e4

View File

@@ -341,7 +341,7 @@ UniValue getdatafromblock(const UniValue& params, bool fHelp)
txs.push_back(objTx); txs.push_back(objTx);
} }
result.push_back(Pair("tx", txs)); result.push_back(Pair("tx", txs));
return true; return result;
} }
UniValue blockToJSON(const CBlock& block, const CBlockIndex* blockindex, bool txDetails = false) UniValue blockToJSON(const CBlock& block, const CBlockIndex* blockindex, bool txDetails = false)