aboutsummaryrefslogtreecommitdiff
path: root/tests/unit_tests/subaddress.cpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-11-23 14:08:28 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-11-23 15:38:00 +0000
commit0dac3c6428a739771795496bb74066b154929ab2 (patch)
treea5f848366d893da6da428964c1165ca132e55082 /tests/unit_tests/subaddress.cpp
parentcryptonote: fix get_unit for non default settings (diff)
downloadmonero-0dac3c6428a739771795496bb74066b154929ab2.tar.xz
unit_tests: do not rethrow a copy of an exception
Found by codacy.com
Diffstat (limited to '')
-rw-r--r--tests/unit_tests/subaddress.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit_tests/subaddress.cpp b/tests/unit_tests/subaddress.cpp
index 8ff4c5f0d..67802d736 100644
--- a/tests/unit_tests/subaddress.cpp
+++ b/tests/unit_tests/subaddress.cpp
@@ -49,7 +49,7 @@ class WalletSubaddress : public ::testing::Test
catch (const std::exception& e)
{
LOG_ERROR("failed to generate wallet: " << e.what());
- throw e;
+ throw;
}
w1.add_subaddress_account(test_label);