diff options
| author | ENikS <[email protected]> | 2014-09-05 11:37:01 -0400 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2014-09-15 14:35:32 +0200 |
| commit | ec91092df8f70c4abef6bbb3c4dec6d9511405fe (patch) | |
| tree | 96e1d0d2930a6a4bb1942504450a1189e16244bc /src/rpcmining.cpp | |
| parent | Merge pull request #4919 (diff) | |
| download | discoin-ec91092df8f70c4abef6bbb3c4dec6d9511405fe.tar.xz discoin-ec91092df8f70c4abef6bbb3c4dec6d9511405fe.zip | |
Fixing compiler warning C4101
Github-Pull: #4856
Diffstat (limited to 'src/rpcmining.cpp')
| -rw-r--r-- | src/rpcmining.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpcmining.cpp b/src/rpcmining.cpp index e4a5bc416..1613f0470 100644 --- a/src/rpcmining.cpp +++ b/src/rpcmining.cpp @@ -553,7 +553,7 @@ Value submitblock(const Array& params, bool fHelp) try { ssBlock >> pblock; } - catch (std::exception &e) { + catch (const std::exception &) { throw JSONRPCError(RPC_DESERIALIZATION_ERROR, "Block decode failed"); } |