Skip to content

Commit 3b799b6

Browse files
committed
Warn on unsolicited tx announcements.
1 parent ea3a691 commit 3b799b6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/protocols/protocol_transaction_in.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ bool protocol_transaction_in::handle_receive_inventory(const code& ec,
100100
// Prior to this level transaction relay is not configurable.
101101
if (!relay_from_peer_ && !response->inventories().empty())
102102
{
103-
LOG_DEBUG(LOG_NODE)
103+
LOG_WARNING(LOG_NODE)
104104
<< "Unexpected transaction inventory from [" << authority() << "]";
105105
stop(error::channel_stopped);
106106
return false;

0 commit comments

Comments
 (0)