diff options
author | Riccardo Spagni <ric@spagni.net> | 2016-03-20 21:25:24 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2016-03-20 21:25:24 +0200 |
commit | b72f143724f07c52c6688d792ebd20f25f104d37 (patch) | |
tree | d138554a5a13e650f45f3d8d4b8bd0c9c1748235 /tests/unit_tests/ban.cpp | |
parent | Merge pull request #732 (diff) | |
parent | Print stack trace upon exceptions (diff) | |
download | monero-b72f143724f07c52c6688d792ebd20f25f104d37.tar.xz |
Merge pull request #733
fff238e Print stack trace upon exceptions (moneromooo-monero)
Diffstat (limited to 'tests/unit_tests/ban.cpp')
-rw-r--r-- | tests/unit_tests/ban.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit_tests/ban.cpp b/tests/unit_tests/ban.cpp index a5ce244d9..5d40e90cf 100644 --- a/tests/unit_tests/ban.cpp +++ b/tests/unit_tests/ban.cpp @@ -56,7 +56,7 @@ public: bool on_idle(){return true;} bool find_blockchain_supplement(const std::list<crypto::hash>& qblock_ids, cryptonote::NOTIFY_RESPONSE_CHAIN_ENTRY::request& resp){return true;} bool handle_get_objects(cryptonote::NOTIFY_REQUEST_GET_OBJECTS::request& arg, cryptonote::NOTIFY_RESPONSE_GET_OBJECTS::request& rsp, cryptonote::cryptonote_connection_context& context){return true;} - cryptonote::blockchain_storage &get_blockchain_storage() { throw std::runtime_error("Called invalid member function: please never call get_blockchain_storage on the TESTING class test_core."); } + cryptonote::blockchain_storage &get_blockchain_storage() { throw tools::runtime_error("Called invalid member function: please never call get_blockchain_storage on the TESTING class test_core."); } bool get_test_drop_download() const {return true;} bool get_test_drop_download_height() const {return true;} bool prepare_handle_incoming_blocks(const std::list<cryptonote::block_complete_entry> &blocks) { return true; } |