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/test/miner_tests.cpp | |
parent | 4e9a6f87b7d25d56fca4166bd929003cf15c9b58 (diff) |
Drop unused GetType() from CSizeComputer
Diffstat (limited to 'src/test/miner_tests.cpp')
-rw-r--r-- | src/test/miner_tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/miner_tests.cpp b/src/test/miner_tests.cpp index eb0e4219d3..3eb8aa14fd 100644 --- a/src/test/miner_tests.cpp +++ b/src/test/miner_tests.cpp @@ -139,7 +139,7 @@ static void TestPackageSelection(const CChainParams& chainparams, const CScript& tx.vout[0].nValue = 5000000000LL - 1000 - 50000; // 0 fee uint256 hashFreeTx = tx.GetHash(); mempool.addUnchecked(entry.Fee(0).FromTx(tx)); - size_t freeTxSize = ::GetSerializeSize(tx, SER_NETWORK, PROTOCOL_VERSION); + size_t freeTxSize = ::GetSerializeSize(tx, PROTOCOL_VERSION); // Calculate a fee on child transaction that will put the package just // below the block min tx fee (assuming 1 child tx of the same size). |