From da74db0940720407fafaf3582bbaf9c81a4d3b4d Mon Sep 17 00:00:00 2001 From: Ben Woosley Date: Fri, 22 Jun 2018 18:27:18 +0000 Subject: Drop unused GetType() from CSizeComputer --- src/policy/policy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/policy/policy.cpp') diff --git a/src/policy/policy.cpp b/src/policy/policy.cpp index 47d6644551..ac1b75edb4 100644 --- a/src/policy/policy.cpp +++ b/src/policy/policy.cpp @@ -34,7 +34,7 @@ CAmount GetDustThreshold(const CTxOut& txout, const CFeeRate& dustRelayFeeIn) if (txout.scriptPubKey.IsUnspendable()) return 0; - size_t nSize = GetSerializeSize(txout, SER_DISK, 0); + size_t nSize = GetSerializeSize(txout); int witnessversion = 0; std::vector witnessprogram; -- cgit v1.2.3