Skip to content

Commit f14179c

Browse files
PastaPastaPastaUdjinM6
authored andcommitted
[Tests] Remove unused variable and inline another variable in evo_deterministicmns_tests.cpp (#2978)
* remove unused variable Signed-off-by: Pasta <Pasta@dash.org> * inline a variable which is used only once Signed-off-by: Pasta <Pasta@dash.org>
1 parent 2756cb7 commit f14179c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/test/evo_deterministicmns_tests.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@
2020

2121
#include <boost/test/unit_test.hpp>
2222

23-
static const CBitcoinAddress payoutAddress ("yRq1Ky1AfFmf597rnotj7QRxsDUKePVWNF");
24-
static const std::string payoutKey ("cV3qrPWzDcnhzRMV4MqtTH4LhNPqPo26ZntGvfJhc8nqCi8Ae5xR");
25-
2623
typedef std::map<COutPoint, std::pair<int, CAmount>> SimpleUTXOMap;
2724

2825
static SimpleUTXOMap BuildSimpleUtxoMap(const std::vector<CTransaction>& txs)
@@ -218,6 +215,7 @@ BOOST_FIXTURE_TEST_CASE(dip3_activation, TestChainDIP3BeforeActivationSetup)
218215
auto utxos = BuildSimpleUtxoMap(coinbaseTxns);
219216
CKey ownerKey;
220217
CBLSSecretKey operatorKey;
218+
CBitcoinAddress payoutAddress("yRq1Ky1AfFmf597rnotj7QRxsDUKePVWNF");
221219
auto tx = CreateProRegTx(utxos, 1, GetScriptForDestination(payoutAddress.Get()), coinbaseKey, ownerKey, operatorKey);
222220
std::vector<CMutableTransaction> txns = {tx};
223221

0 commit comments

Comments
 (0)