diff options
Diffstat (limited to 'src/init.cpp')
-rw-r--r-- | src/init.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp index 2f3521a103..948cf0414b 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -1427,7 +1427,7 @@ bool AppInitMain(NodeContext& node, interfaces::BlockAndHeaderTipInfo* tip_info) g_zmq_notification_interface = CZMQNotificationInterface::Create( [&chainman = node.chainman](CBlock& block, const CBlockIndex& index) { assert(chainman); - return node::ReadBlockFromDisk(block, &index, chainman->GetConsensus()); + return chainman->m_blockman.ReadBlockFromDisk(block, index); }); if (g_zmq_notification_interface) { |