aboutsummaryrefslogtreecommitdiff
path: root/src/script
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2014-12-17 17:34:20 +0100
committerWladimir J. van der Laan <[email protected]>2014-12-17 18:13:28 +0100
commit89802fe3eea857bae3a4f4f393de92af0915facd (patch)
tree90ca518364768b73da454b6f782130e13fd48ef3 /src/script
parentMerge pull request #5488 (diff)
parentmake all catch() arguments const (diff)
downloaddiscoin-89802fe3eea857bae3a4f4f393de92af0915facd.tar.xz
discoin-89802fe3eea857bae3a4f4f393de92af0915facd.zip
Merge pull request #5438
27df412 make all catch() arguments const (Philip Kaufmann)
Diffstat (limited to 'src/script')
-rw-r--r--src/script/bitcoinconsensus.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/bitcoinconsensus.cpp b/src/script/bitcoinconsensus.cpp
index d4fd2ad7d..e80e55df7 100644
--- a/src/script/bitcoinconsensus.cpp
+++ b/src/script/bitcoinconsensus.cpp
@@ -79,7 +79,7 @@ int bitcoinconsensus_verify_script(const unsigned char *scriptPubKey, unsigned i
set_error(err, bitcoinconsensus_ERR_OK);
return VerifyScript(tx.vin[nIn].scriptSig, CScript(scriptPubKey, scriptPubKey + scriptPubKeyLen), flags, SignatureChecker(tx, nIn), NULL);
- } catch (std::exception &e) {
+ } catch (const std::exception&) {
return set_error(err, bitcoinconsensus_ERR_TX_DESERIALIZE); // Error deserializing
}
}