aboutsummaryrefslogtreecommitdiff
path: root/src/interface/node.cpp
diff options
context:
space:
mode:
authorRussell Yanofsky <russ@yanofsky.org>2017-04-17 15:44:10 -0400
committerJohn Newbery <john@johnnewbery.com>2018-04-04 16:52:40 -0400
commitd7c2c9594897c39df6739b92610dfb5a7a1cb3ec (patch)
tree0b8355cffe4a206c43051ada4f2b796b2a6ccf2c /src/interface/node.cpp
parentfe6f27e6ea68a139d3a98b30a53706008ef8b132 (diff)
Remove direct bitcoin calls from qt/intro.cpp
Diffstat (limited to 'src/interface/node.cpp')
-rw-r--r--src/interface/node.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/interface/node.cpp b/src/interface/node.cpp
index e053080074..281164779d 100644
--- a/src/interface/node.cpp
+++ b/src/interface/node.cpp
@@ -113,7 +113,7 @@ class NodeImpl : public Node
LOCK(::cs_main);
tip = ::chainActive.Tip();
}
- return GuessVerificationProgress(::Params().TxData(), tip);
+ return GuessVerificationProgress(Params().TxData(), tip);
}
bool isInitialBlockDownload() override { return IsInitialBlockDownload(); }
bool getReindex() override { return ::fReindex; }
@@ -166,7 +166,7 @@ class NodeImpl : public Node
{
return MakeHandler(::uiInterface.NotifyBlockTip.connect([fn](bool initial_download, const CBlockIndex* block) {
fn(initial_download, block->nHeight, block->GetBlockTime(),
- GuessVerificationProgress(::Params().TxData(), block));
+ GuessVerificationProgress(Params().TxData(), block));
}));
}
std::unique_ptr<Handler> handleNotifyHeaderTip(NotifyHeaderTipFn fn) override
@@ -174,7 +174,7 @@ class NodeImpl : public Node
return MakeHandler(
::uiInterface.NotifyHeaderTip.connect([fn](bool initial_download, const CBlockIndex* block) {
fn(initial_download, block->nHeight, block->GetBlockTime(),
- GuessVerificationProgress(::Params().TxData(), block));
+ GuessVerificationProgress(Params().TxData(), block));
}));
}
};