From 8dde91c4d7b5dbd956e0442ebb479b7b9c2f6e31 Mon Sep 17 00:00:00 2001 From: Aiwe Date: Sun, 2 Jan 2022 12:13:34 +0200 Subject: [PATCH] Fix get public node's fee info --- src/NodeRpcProxy/NodeRpcProxy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NodeRpcProxy/NodeRpcProxy.cpp b/src/NodeRpcProxy/NodeRpcProxy.cpp index fe27216a2..b14d2b050 100755 --- a/src/NodeRpcProxy/NodeRpcProxy.cpp +++ b/src/NodeRpcProxy/NodeRpcProxy.cpp @@ -201,6 +201,7 @@ void NodeRpcProxy::workerThread(const INode::Callback& initialized_callback) { contextGroup.spawn([this]() { Timer pullTimer(*m_dispatcher); while (!m_stop) { + getFeeAddress(); // Get public node's fee info updateNodeStatus(); if (!m_stop) { pullTimer.sleep(std::chrono::milliseconds(m_pullInterval)); @@ -228,7 +229,6 @@ void NodeRpcProxy::updateNodeStatus() { updateBlockchainStatus(); updateBlockchain = !updatePoolStatus(); } - getFeeAddress(); // Get public node's fee info } bool NodeRpcProxy::updatePoolStatus() {