We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 814429d commit 1ec753fCopy full SHA for 1ec753f
src/qt/paymentserver.cpp
@@ -263,6 +263,7 @@ bool PaymentServer::ipcSendCommandLine()
263
if (!socket->waitForConnected(BITCOIN_IPC_CONNECT_TIMEOUT))
264
{
265
delete socket;
266
+ socket = NULL;
267
return false;
268
}
269
@@ -271,12 +272,14 @@ bool PaymentServer::ipcSendCommandLine()
271
272
out.setVersion(QDataStream::Qt_4_0);
273
out << r;
274
out.device()->seek(0);
275
+
276
socket->write(block);
277
socket->flush();
-
278
socket->waitForBytesWritten(BITCOIN_IPC_CONNECT_TIMEOUT);
279
socket->disconnectFromServer();
280
281
282
283
fResult = true;
284
285
0 commit comments