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/consensus/tx_verify.cpp | |
parent | 4e9a6f87b7d25d56fca4166bd929003cf15c9b58 (diff) |
Drop unused GetType() from CSizeComputer
Diffstat (limited to 'src/consensus/tx_verify.cpp')
-rw-r--r-- | src/consensus/tx_verify.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/consensus/tx_verify.cpp b/src/consensus/tx_verify.cpp index be73d0a2f9..0628ec1d47 100644 --- a/src/consensus/tx_verify.cpp +++ b/src/consensus/tx_verify.cpp @@ -164,7 +164,7 @@ bool CheckTransaction(const CTransaction& tx, CValidationState &state, bool fChe if (tx.vout.empty()) return state.DoS(10, false, REJECT_INVALID, "bad-txns-vout-empty"); // Size limits (this doesn't take the witness into account, as that hasn't been checked for malleability) - if (::GetSerializeSize(tx, SER_NETWORK, PROTOCOL_VERSION | SERIALIZE_TRANSACTION_NO_WITNESS) * WITNESS_SCALE_FACTOR > MAX_BLOCK_WEIGHT) + if (::GetSerializeSize(tx, PROTOCOL_VERSION | SERIALIZE_TRANSACTION_NO_WITNESS) * WITNESS_SCALE_FACTOR > MAX_BLOCK_WEIGHT) return state.DoS(100, false, REJECT_INVALID, "bad-txns-oversize"); // Check for negative or overflow output values |