mirror of
https://github.com/dashpay/dash.git
synced 2024-12-24 19:42:46 +01:00
fix data size for notification name
This commit is contained in:
parent
568315bb36
commit
b6d41d22da
@ -145,7 +145,7 @@ bool CZMQPublishHashTransactionLockNotifier::NotifyTransactionLock(const uint256
|
||||
char data[32];
|
||||
for (unsigned int i = 0; i < 32; i++)
|
||||
data[31 - i] = hash.begin()[i];
|
||||
int rc = zmq_send_multipart(psocket, "hashtxlock", 6, data, 32, 0);
|
||||
int rc = zmq_send_multipart(psocket, "hashtxlock", 10, data, 32, 0);
|
||||
return rc == 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user