diff options
| author | John Newbery <[email protected]> | 2017-02-07 09:56:53 -0500 |
|---|---|---|
| committer | John Newbery <[email protected]> | 2017-02-08 10:24:02 -0500 |
| commit | 9db8eecac1c713c760c0217b6acb7455c657fa8b (patch) | |
| tree | 02faa45b0da7cd2271cf4a3b089e78dd0e308f4d /src/net_processing.cpp | |
| parent | Merge #9604: [Trivial] add comment about setting peer as HB peer. (diff) | |
| download | discoin-9db8eecac1c713c760c0217b6acb7455c657fa8b.tar.xz discoin-9db8eecac1c713c760c0217b6acb7455c657fa8b.zip | |
Fix RPC failure testing
Make sure that RPC tests are actually checking failures correctly by:
- Catching JSON RPC exceptions and verifying the error codes and messages.
- Failing the test case if the JSON RPC exception isn't raised.
Diffstat (limited to 'src/net_processing.cpp')
0 files changed, 0 insertions, 0 deletions