We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 66db2d6 commit facb6c0Copy full SHA for facb6c0
qa/rpc-tests/test_framework/mininode.py
@@ -1315,7 +1315,7 @@ def got_data(self):
1315
1316
def send_message(self, message, pushbuf=False):
1317
if self.state != "connected" and not pushbuf:
1318
- return
+ raise IOError('Not connected, no pushbuf')
1319
self.show_debug_msg("Send %s" % repr(message))
1320
command = message.command
1321
data = message.serialize()
0 commit comments