mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 20:42:59 +01:00
Fix comptool send_message call when MAX_INV_SZ reached
This commit is contained in:
parent
574db4816f
commit
2a22d4be9b
@ -313,7 +313,7 @@ class TestManager(object):
|
|||||||
invqueue.append(CInv(1, tx.sha256))
|
invqueue.append(CInv(1, tx.sha256))
|
||||||
# Ensure we're not overflowing the inv queue
|
# Ensure we're not overflowing the inv queue
|
||||||
if len(invqueue) == MAX_INV_SZ:
|
if len(invqueue) == MAX_INV_SZ:
|
||||||
[ c.sb.send_message(msg_inv(invqueue)) for c in self.connections ]
|
[ c.send_message(msg_inv(invqueue)) for c in self.connections ]
|
||||||
invqueue = []
|
invqueue = []
|
||||||
|
|
||||||
# Do final sync if we weren't syncing on every block or every tx.
|
# Do final sync if we weren't syncing on every block or every tx.
|
||||||
|
Loading…
Reference in New Issue
Block a user