From f14179ca03d4fedf5798010be3e5d41df63480dc Mon Sep 17 00:00:00 2001 From: PastaPastaPasta Date: Tue, 18 Jun 2019 06:32:43 -0500 Subject: [PATCH] [Tests] Remove unused variable and inline another variable in evo_deterministicmns_tests.cpp (#2978) * remove unused variable Signed-off-by: Pasta * inline a variable which is used only once Signed-off-by: Pasta --- src/test/evo_deterministicmns_tests.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/test/evo_deterministicmns_tests.cpp b/src/test/evo_deterministicmns_tests.cpp index ecf78218d..8b799ffd4 100644 --- a/src/test/evo_deterministicmns_tests.cpp +++ b/src/test/evo_deterministicmns_tests.cpp @@ -20,9 +20,6 @@ #include -static const CBitcoinAddress payoutAddress ("yRq1Ky1AfFmf597rnotj7QRxsDUKePVWNF"); -static const std::string payoutKey ("cV3qrPWzDcnhzRMV4MqtTH4LhNPqPo26ZntGvfJhc8nqCi8Ae5xR"); - typedef std::map> SimpleUTXOMap; static SimpleUTXOMap BuildSimpleUtxoMap(const std::vector& txs) @@ -218,6 +215,7 @@ BOOST_FIXTURE_TEST_CASE(dip3_activation, TestChainDIP3BeforeActivationSetup) auto utxos = BuildSimpleUtxoMap(coinbaseTxns); CKey ownerKey; CBLSSecretKey operatorKey; + CBitcoinAddress payoutAddress("yRq1Ky1AfFmf597rnotj7QRxsDUKePVWNF"); auto tx = CreateProRegTx(utxos, 1, GetScriptForDestination(payoutAddress.Get()), coinbaseKey, ownerKey, operatorKey); std::vector txns = {tx};