From 1117ff9e0353d67692a37e03cd79f687fc8a468b Mon Sep 17 00:00:00 2001 From: mattt21 Date: Tue, 4 Jun 2019 09:19:06 -0500 Subject: [PATCH] remove lock --- src/ghostnode/ghostnode-payments.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/ghostnode/ghostnode-payments.cpp b/src/ghostnode/ghostnode-payments.cpp index 3a784148a..e2bdf073c 100755 --- a/src/ghostnode/ghostnode-payments.cpp +++ b/src/ghostnode/ghostnode-payments.cpp @@ -186,13 +186,7 @@ void CGhostnodePayments::FillBlockPayee(CMutableTransaction &txNew, int nBlockHe } int CGhostnodePayments::GetMinGhostnodePaymentsProto() { - LOCK(cs_main); - if(chainActive.Height() > Params().GetConsensus().nStartGhostFeeDistribution) - return MIN_GHOSTNODE_PAYMENT_PROTO_VERSION_2; - - return sporkManager.IsSporkActive(SPORK_10_GHOSTNODE_PAY_UPDATED_NODES) - ? MIN_GHOSTNODE_PAYMENT_PROTO_VERSION_2 - : MIN_GHOSTNODE_PAYMENT_PROTO_VERSION_1; + return MIN_GHOSTNODE_PAYMENT_PROTO_VERSION_2; } void CGhostnodePayments::ProcessMessage(CNode *pfrom, std::string &strCommand, CDataStream &vRecv) {