Skip to content

Commit

Permalink
Fix get public node's fee info
Browse files Browse the repository at this point in the history
  • Loading branch information
aivve committed Jan 2, 2022
1 parent 5f97c0e commit 8dde91c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NodeRpcProxy/NodeRpcProxy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down Expand Up @@ -228,7 +229,6 @@ void NodeRpcProxy::updateNodeStatus() {
updateBlockchainStatus();
updateBlockchain = !updatePoolStatus();
}
getFeeAddress(); // Get public node's fee info
}

bool NodeRpcProxy::updatePoolStatus() {
Expand Down

0 comments on commit 8dde91c

Please sign in to comment.