Refactor: replace calls to GetTxid() with GetHash()
This commit is contained in:
@@ -105,7 +105,7 @@ Object blockToJSON(const CBlock& block, const CBlockIndex* blockindex, bool txDe
|
||||
txs.push_back(objTx);
|
||||
}
|
||||
else
|
||||
txs.push_back(tx.GetTxid().GetHex());
|
||||
txs.push_back(tx.GetHash().GetHex());
|
||||
}
|
||||
result.push_back(Pair("tx", txs));
|
||||
result.push_back(Pair("time", block.GetBlockTime()));
|
||||
|
||||
Reference in New Issue
Block a user