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/index | |
parent | 4e9a6f87b7d25d56fca4166bd929003cf15c9b58 (diff) |
Drop unused GetType() from CSizeComputer
Diffstat (limited to 'src/index')
-rw-r--r-- | src/index/txindex.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index/txindex.cpp b/src/index/txindex.cpp index c85030e18e..f606c8993c 100644 --- a/src/index/txindex.cpp +++ b/src/index/txindex.cpp @@ -250,7 +250,7 @@ bool TxIndex::WriteBlock(const CBlock& block, const CBlockIndex* pindex) vPos.reserve(block.vtx.size()); for (const auto& tx : block.vtx) { vPos.emplace_back(tx->GetHash(), pos); - pos.nTxOffset += ::GetSerializeSize(*tx, SER_DISK, CLIENT_VERSION); + pos.nTxOffset += ::GetSerializeSize(*tx, CLIENT_VERSION); } return m_db->WriteTxs(vPos); } |