aboutsummaryrefslogtreecommitdiff
path: root/test/test_p2p_stress.cpp
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2019-10-14 13:36:58 -0400
committerDeterminant <[email protected]>2019-10-14 13:36:58 -0400
commit2a99baafdcac46931b00a9ef9e77340dbc319b58 (patch)
tree99bd05cd8985ee61e93332c626d40cb9ea5f1fb1 /test/test_p2p_stress.cpp
parentb6cc8b6615266fa1023b63d08e96971629d854c6 (diff)
remove unnecessary std::move()v0.1.0
Diffstat (limited to 'test/test_p2p_stress.cpp')
-rw-r--r--test/test_p2p_stress.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test_p2p_stress.cpp b/test/test_p2p_stress.cpp
index 49f1b2e..e4341bb 100644
--- a/test/test_p2p_stress.cpp
+++ b/test/test_p2p_stress.cpp
@@ -151,7 +151,9 @@ void install_proto(AppContext &app, const size_t &seg_buff_size) {
}
if (msg.hash != tc.hash)
{
- SALTICIDAE_LOG_ERROR("corrupted I/O!");
+ SALTICIDAE_LOG_ERROR("%s corrupted I/O: from=%s view=%d state=%d",
+ std::string(app.addr).c_str(),
+ std::string(addr).c_str(), msg.view, tc.state);
exit(1);
}