aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorpracticalswift <[email protected]>2018-08-02 09:22:44 +0200
committerpracticalswift <[email protected]>2018-08-02 14:30:59 +0200
commitdd777f3e1220dd1a76e8a29cafdd4fe6244c5c0f (patch)
treecd889fd2285ebd6f2e268a3b596a401e038d6df7 /src/test
parentRemove redundant assignments (dead stores) (diff)
downloaddiscoin-dd777f3e1220dd1a76e8a29cafdd4fe6244c5c0f.tar.xz
discoin-dd777f3e1220dd1a76e8a29cafdd4fe6244c5c0f.zip
Remove unused variable
Diffstat (limited to 'src/test')
-rw-r--r--src/test/descriptor_tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/descriptor_tests.cpp b/src/test/descriptor_tests.cpp
index f189222be..e739b84a4 100644
--- a/src/test/descriptor_tests.cpp
+++ b/src/test/descriptor_tests.cpp
@@ -64,7 +64,7 @@ void Check(const std::string& prv, const std::string& pub, int flags, const std:
BOOST_CHECK_EQUAL(pub, pub2);
// Check that both can be serialized with private key back to the private version, but not without private key.
- std::string prv1, prv2;
+ std::string prv1;
BOOST_CHECK(parse_priv->ToPrivateString(keys_priv, prv1));
BOOST_CHECK_EQUAL(prv, prv1);
BOOST_CHECK(!parse_priv->ToPrivateString(keys_pub, prv1));