Skip to content

Commit

Permalink
Fix comptool send_message call when MAX_INV_SZ reached
Browse files Browse the repository at this point in the history
  • Loading branch information
sdaftuar committed May 1, 2015
1 parent 574db48 commit 2a22d4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qa/rpc-tests/comptool.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ def run(self):
invqueue.append(CInv(1, tx.sha256))
# Ensure we're not overflowing the inv queue
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 = []

# Do final sync if we weren't syncing on every block or every tx.
Expand Down

0 comments on commit 2a22d4b

Please sign in to comment.