aboutsummaryrefslogtreecommitdiff
path: root/src/test/miner_tests.cpp
diff options
context:
space:
mode:
authorBen Woosley <ben.woosley@gmail.com>2018-06-22 18:27:18 +0000
committerBen Woosley <ben.woosley@gmail.com>2018-09-11 00:58:05 -0400
commitda74db0940720407fafaf3582bbaf9c81a4d3b4d (patch)
tree12ea45e64d4da961a7f89a718ea3c9bb233ea173 /src/test/miner_tests.cpp
parent4e9a6f87b7d25d56fca4166bd929003cf15c9b58 (diff)
downloadbitcoin-da74db0940720407fafaf3582bbaf9c81a4d3b4d.tar.xz
Drop unused GetType() from CSizeComputer
Diffstat (limited to 'src/test/miner_tests.cpp')
-rw-r--r--src/test/miner_tests.cpp2
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).