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/policy | |
| 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/policy')
| -rw-r--r-- | src/policy/policy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/policy/policy.cpp b/src/policy/policy.cpp index 47d664455..ac1b75edb 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<unsigned char> witnessprogram; |