diff --git a/lib/services/dashd.js b/lib/services/dashd.js index d5311d970..79cf6e625 100644 --- a/lib/services/dashd.js +++ b/lib/services/dashd.js @@ -20,6 +20,7 @@ var errors = index.errors; var log = index.log; var utils = require('../utils'); var Service = require('../service'); +var rawtxlockTopicBuffer = new Buffer('72617774786c6f636b', 'hex'); /** * Provides a friendly event driven API to dashd in Node.js. Manages starting and @@ -701,7 +702,11 @@ Dash.prototype._zmqTransactionHandler = function(node, message) { } }; -Dash.prototype._zmqTransactionLockHandler = function(node, message) { +Dash.prototype._zmqTransactionLockHandler = function (node, message) { + if (message === rawtxlockTopicBuffer) { + return false; + } + var self = this; var hash = dashcore.crypto.Hash.sha256sha256(message); var id = hash.toString('binary');