make tests print more of peer logs

This commit is contained in:
Arvid Norberg 2018-06-22 08:31:26 +02:00 committed by Arvid Norberg
parent 16b32741ce
commit 107337f821
1 changed files with 2 additions and 1 deletions

View File

@ -154,7 +154,8 @@ bool should_print(lt::alert* a)
if (auto pla = alert_cast<peer_log_alert>(a))
{
if (pla->direction != peer_log_alert::incoming_message
&& pla->direction != peer_log_alert::outgoing_message)
&& pla->direction != peer_log_alert::outgoing_message
&& pla->direction != peer_log_alert::info)
return false;
}
#endif