diff options
| author | Suhas Daftuar <[email protected]> | 2015-05-01 14:47:44 -0400 |
|---|---|---|
| committer | Suhas Daftuar <[email protected]> | 2015-05-01 15:32:24 -0400 |
| commit | 2a22d4be9b27c63afa7f1a425227e6637cda8750 (patch) | |
| tree | 2b5936ca3d90d1d4a60a6815051374eaf2500f81 | |
| parent | Fix potential race conditions in p2p testing framework (diff) | |
| download | discoin-2a22d4be9b27c63afa7f1a425227e6637cda8750.tar.xz discoin-2a22d4be9b27c63afa7f1a425227e6637cda8750.zip | |
Fix comptool send_message call when MAX_INV_SZ reached
| -rwxr-xr-x | qa/rpc-tests/comptool.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/rpc-tests/comptool.py b/qa/rpc-tests/comptool.py index 25cffe461..23a979250 100755 --- a/qa/rpc-tests/comptool.py +++ b/qa/rpc-tests/comptool.py @@ -313,7 +313,7 @@ class TestManager(object): 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. |