aboutsummaryrefslogtreecommitdiff
path: root/tests/trezor/daemon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/trezor/daemon.cpp')
-rw-r--r--tests/trezor/daemon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/trezor/daemon.cpp b/tests/trezor/daemon.cpp
index aba835ae2..dd9fd49ee 100644
--- a/tests/trezor/daemon.cpp
+++ b/tests/trezor/daemon.cpp
@@ -247,7 +247,7 @@ bool mock_daemon::run_main()
if (m_start_zmq)
{
- if (!zmq_server.addTCPSocket("127.0.0.1", m_zmq_bind_port))
+ if (!zmq_server.init_rpc("127.0.0.1", m_zmq_bind_port))
{
MERROR("Failed to add TCP Socket (127.0.0.1:" << m_zmq_bind_port << ") to ZMQ RPC Server");