diff options
author | Ben Woosley <ben.woosley@gmail.com> | 2018-06-22 18:27:18 +0000 |
---|---|---|
committer | Ben Woosley <ben.woosley@gmail.com> | 2018-09-11 00:58:05 -0400 |
commit | da74db0940720407fafaf3582bbaf9c81a4d3b4d (patch) | |
tree | 12ea45e64d4da961a7f89a718ea3c9bb233ea173 /src/core_write.cpp | |
parent | 4e9a6f87b7d25d56fca4166bd929003cf15c9b58 (diff) |
Drop unused GetType() from CSizeComputer
Diffstat (limited to 'src/core_write.cpp')
-rw-r--r-- | src/core_write.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core_write.cpp b/src/core_write.cpp index 55dcb1661d..b86490716f 100644 --- a/src/core_write.cpp +++ b/src/core_write.cpp @@ -181,7 +181,7 @@ void TxToUniv(const CTransaction& tx, const uint256& hashBlock, UniValue& entry, entry.pushKV("txid", tx.GetHash().GetHex()); entry.pushKV("hash", tx.GetWitnessHash().GetHex()); entry.pushKV("version", tx.nVersion); - entry.pushKV("size", (int)::GetSerializeSize(tx, SER_NETWORK, PROTOCOL_VERSION)); + entry.pushKV("size", (int)::GetSerializeSize(tx, PROTOCOL_VERSION)); entry.pushKV("vsize", (GetTransactionWeight(tx) + WITNESS_SCALE_FACTOR - 1) / WITNESS_SCALE_FACTOR); entry.pushKV("weight", GetTransactionWeight(tx)); entry.pushKV("locktime", (int64_t)tx.nLockTime); |