diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2015-10-28 02:31:22 +0100 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2015-10-28 02:34:09 +0100 |
commit | 8daffe227bc67706d6640b67776f7711a6a98607 (patch) | |
tree | 8a5df80256d7a19cae49e483d3f087849cdb0e9e /src/bitcoin-tx.cpp | |
parent | 4764f5db9d2c68e517fe2ba1d67dde39987a525c (diff) | |
parent | ad5aae15b40dcbdbfc08221e615f06b030b92334 (diff) |
Merge pull request #6891
ad5aae1 constify missing catch cases (Philip Kaufmann)
Diffstat (limited to 'src/bitcoin-tx.cpp')
-rw-r--r-- | src/bitcoin-tx.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bitcoin-tx.cpp b/src/bitcoin-tx.cpp index 3330fe5d12..48033cd8ad 100644 --- a/src/bitcoin-tx.cpp +++ b/src/bitcoin-tx.cpp @@ -37,7 +37,7 @@ static bool AppInitRawTx(int argc, char* argv[]) // Check for -testnet or -regtest parameter (Params() calls are only valid after this clause) try { SelectParams(ChainNameFromCommandLine()); - } catch(std::exception &e) { + } catch (const std::exception& e) { fprintf(stderr, "Error: %s\n", e.what()); return false; } |