diff options
| author | MarcoFalke <[email protected]> | 2016-05-22 11:37:42 +0200 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2016-06-17 13:31:31 +0200 |
| commit | facb6c0bf8a6ef7081d763d9f33b446276a36635 (patch) | |
| tree | 57729020c75758682aa107b163a2922f1b79f1e5 | |
| parent | Merge #7600: Mining: Select transactions using feerate-with-ancestors (diff) | |
| download | discoin-facb6c0bf8a6ef7081d763d9f33b446276a36635.tar.xz discoin-facb6c0bf8a6ef7081d763d9f33b446276a36635.zip | |
[qa] mininode: fail on send_message instead of silent return
| -rwxr-xr-x | qa/rpc-tests/test_framework/mininode.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/rpc-tests/test_framework/mininode.py b/qa/rpc-tests/test_framework/mininode.py index c0b59f385..6612b99b8 100755 --- a/qa/rpc-tests/test_framework/mininode.py +++ b/qa/rpc-tests/test_framework/mininode.py @@ -1315,7 +1315,7 @@ class NodeConn(asyncore.dispatcher): def send_message(self, message, pushbuf=False): if self.state != "connected" and not pushbuf: - return + raise IOError('Not connected, no pushbuf') self.show_debug_msg("Send %s" % repr(message)) command = message.command data = message.serialize() |