From d7c2c9594897c39df6739b92610dfb5a7a1cb3ec Mon Sep 17 00:00:00 2001 From: Russell Yanofsky Date: Mon, 17 Apr 2017 15:44:10 -0400 Subject: Remove direct bitcoin calls from qt/intro.cpp --- src/interface/node.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/interface') 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 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)); })); } }; -- cgit v1.2.3