mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
Segwit: Rename CTransaction::GetWitnessHash() -> CTransaction::GetHashWithWitness()
This commit is contained in:
parent
6053519cea
commit
b7704f1717
8 changed files with 9 additions and 9 deletions
|
|
@ -156,7 +156,7 @@ void ScriptPubKeyToUniv(const CScript& scriptPubKey,
|
|||
void TxToUniv(const CTransaction& tx, const uint256& hashBlock, UniValue& entry)
|
||||
{
|
||||
entry.pushKV("txid", tx.GetHash().GetHex());
|
||||
entry.pushKV("hash", tx.GetWitnessHash().GetHex());
|
||||
entry.pushKV("hash", tx.GetHashWithWitness().GetHex());
|
||||
entry.pushKV("version", tx.nVersion);
|
||||
entry.pushKV("locktime", (int64_t)tx.nLockTime);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue