mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 20:42:59 +01:00
Fix logging in PushInventory (#1847)
Merge conflict resolution went wrong here. It showed filtered in case it was pushed and nothing in case it was filtered.
This commit is contained in:
parent
94e891c020
commit
3aad9d9085
@ -883,8 +883,10 @@ public:
|
|||||||
LOCK(cs_inventory);
|
LOCK(cs_inventory);
|
||||||
if (inv.type == MSG_TX) {
|
if (inv.type == MSG_TX) {
|
||||||
if (!filterInventoryKnown.contains(inv.hash)) {
|
if (!filterInventoryKnown.contains(inv.hash)) {
|
||||||
LogPrint("net", "PushInventory -- filtered inv: %s peer=%d\n", inv.ToString(), id);
|
LogPrint("net", "PushInventory -- inv: %s peer=%d\n", inv.ToString(), id);
|
||||||
setInventoryTxToSend.insert(inv.hash);
|
setInventoryTxToSend.insert(inv.hash);
|
||||||
|
} else {
|
||||||
|
LogPrint("net", "PushInventory -- filtered inv: %s peer=%d\n", inv.ToString(), id);
|
||||||
}
|
}
|
||||||
} else if (inv.type == MSG_BLOCK) {
|
} else if (inv.type == MSG_BLOCK) {
|
||||||
LogPrint("net", "PushInventory -- inv: %s peer=%d\n", inv.ToString(), id);
|
LogPrint("net", "PushInventory -- inv: %s peer=%d\n", inv.ToString(), id);
|
||||||
|
Loading…
Reference in New Issue
Block a user