diff options
| author | Ben Woosley <[email protected]> | 2018-06-22 18:27:18 +0000 |
|---|---|---|
| committer | Ben Woosley <[email protected]> | 2018-09-11 00:58:05 -0400 |
| commit | da74db0940720407fafaf3582bbaf9c81a4d3b4d (patch) | |
| tree | 12ea45e64d4da961a7f89a718ea3c9bb233ea173 /src/index/txindex.cpp | |
| parent | Merge #14097: validation: Log FormatStateMessage on ConnectBlock error in Con... (diff) | |
| download | discoin-da74db0940720407fafaf3582bbaf9c81a4d3b4d.tar.xz discoin-da74db0940720407fafaf3582bbaf9c81a4d3b4d.zip | |
Drop unused GetType() from CSizeComputer
Diffstat (limited to 'src/index/txindex.cpp')
| -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 c85030e18..f606c8993 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); } |