Removed zmq dead code.

This commit is contained in:
Just Wonder 2020-01-31 15:40:06 -08:00
parent ebe3e26bff
commit 3784071c48

View File

@ -202,8 +202,6 @@ bool CZMQPublishKevaNotifier::NotifyKeva(const CTransactionRef &ptx, unsigned in
{
uint256 hash = ptx->GetHash();
LogPrint(BCLog::ZMQ, "zmq: Publish keva height: %d, tx: %s\n", height, ptx->GetHash().ToString().c_str());
CDataStream ss(SER_NETWORK, PROTOCOL_VERSION | RPCSerializationFlags());
ss << height << *ptx << nameSpace;
UniValue entry(UniValue::VOBJ);
entry.pushKV("tx", hash.ToString());