upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/net.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/net.h b/src/net.h
index 1aee973..600922a 100644
--- a/src/net.h
+++ b/src/net.h
@@ -841,7 +841,11 @@ public:
841 extern int nDropMessagesTest; 841 extern int nDropMessagesTest;
842 if (nDropMessagesTest > 0 && GetRand(nDropMessagesTest) == 0) 842 if (nDropMessagesTest > 0 && GetRand(nDropMessagesTest) == 0)
843 { 843 {
844 if (LogAcceptsCategory("net")) printf("dropmessages DROPPING SEND MESSAGE\n"); 844 // Same category as the "sending: " this line interrupts, so a tx
845 // does not announce its own drop under "net" having been gated
846 // off under "relay". nPushPos can be -1 here, and then
847 // GetMessageCommand() returns "" and this is "net" as before.
848 if (LogAcceptsCategory(SendLogCategory())) printf("dropmessages DROPPING SEND MESSAGE\n");
845 AbortMessage(); 849 AbortMessage();
846 return; 850 return;
847 } 851 }