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/script/bitcoinconsensus.cpp | |
| 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/script/bitcoinconsensus.cpp')
| -rw-r--r-- | src/script/bitcoinconsensus.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/bitcoinconsensus.cpp b/src/script/bitcoinconsensus.cpp index 01cfeb23f..15e204062 100644 --- a/src/script/bitcoinconsensus.cpp +++ b/src/script/bitcoinconsensus.cpp @@ -88,7 +88,7 @@ static int verify_script(const unsigned char *scriptPubKey, unsigned int scriptP CTransaction tx(deserialize, stream); if (nIn >= tx.vin.size()) return set_error(err, bitcoinconsensus_ERR_TX_INDEX); - if (GetSerializeSize(tx, SER_NETWORK, PROTOCOL_VERSION) != txToLen) + if (GetSerializeSize(tx, PROTOCOL_VERSION) != txToLen) return set_error(err, bitcoinconsensus_ERR_TX_SIZE_MISMATCH); // Regardless of the verification result, the tx did not error. |