aboutsummaryrefslogtreecommitdiff
path: root/tests/core_tests/chaingen.h
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2016-03-21 12:55:37 +0200
committerRiccardo Spagni <ric@spagni.net>2016-03-21 12:55:37 +0200
commit0b4e75026a36a48adaff9f6973be3ab882548599 (patch)
tree18d3ab32dfd303b6256c0571cfd9d893db858531 /tests/core_tests/chaingen.h
parentMerge pull request #738 (diff)
parentRevert "Print stack trace upon exceptions" (diff)
downloadmonero-0b4e75026a36a48adaff9f6973be3ab882548599.tar.xz
Merge pull request #740
f7301c3 Revert "Print stack trace upon exceptions" (moneromooo-monero)
Diffstat (limited to 'tests/core_tests/chaingen.h')
-rw-r--r--tests/core_tests/chaingen.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/core_tests/chaingen.h b/tests/core_tests/chaingen.h
index d51d9d320..d0d912cbb 100644
--- a/tests/core_tests/chaingen.h
+++ b/tests/core_tests/chaingen.h
@@ -284,7 +284,7 @@ bool do_check_tx_verification_context(const cryptonote::tx_verification_context&
{
// Default block verification context check
if (tvc.m_verifivation_failed)
- throw tools::runtime_error("Transaction verification failed");
+ throw std::runtime_error("Transaction verification failed");
return true;
}
//--------------------------------------------------------------------------
@@ -307,7 +307,7 @@ bool do_check_block_verification_context(const cryptonote::block_verification_co
{
// Default block verification context check
if (bvc.m_verifivation_failed)
- throw tools::runtime_error("Block verification failed");
+ throw std::runtime_error("Block verification failed");
return true;
}
//--------------------------------------------------------------------------
@@ -621,7 +621,7 @@ inline bool do_replay_file(const std::string& filename)
if (!tools::serialize_obj_to_file(events, filename)) \
{ \
std::cout << concolor::magenta << "Failed to serialize data to file: " << filename << concolor::normal << std::endl; \
- throw tools::runtime_error("Failed to serialize data to file"); \
+ throw std::runtime_error("Failed to serialize data to file"); \
} \
}