Do not send getdata messages with 0 items
MODIFY
WalletWasabi/Services/MemPoolBehavior.cs
WalletWasabi/Services/MemPoolBehavior.cs
@@ -78,7 +78,7 @@ namespace WalletWasabi.Services
payload.Inventory.Add(inv);
}
- if (node.IsConnected)
+ if (node.IsConnected && payload.Inventory.Any())
{
// ask for the whole transaction
await node.SendMessageAsync(payload);

Do not send getdata messages with 0 items