summaryrefslogtreecommitdiff
path: root/src/xpub.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/xpub.cpp')
-rw-r--r--src/xpub.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xpub.cpp b/src/xpub.cpp
index 1659d6f..601ec23 100644
--- a/src/xpub.cpp
+++ b/src/xpub.cpp
@@ -29,7 +29,7 @@ zmq::xpub_t::xpub_t (class ctx_t *parent_, uint32_t tid_) :
active (0),
terminating (false)
{
- options.type = ZMQ_PUB;
+ options.type = ZMQ_XPUB;
options.requires_in = false;
options.requires_out = true;
}